From 4543bbbfbc088c90c31f45071e63488d45db2484 Mon Sep 17 00:00:00 2001 From: Duc Ng Date: Thu, 25 Feb 2021 23:05:22 -0800 Subject: [PATCH] fix: CI: use npm --- .github/workflows/node.js.yml | 4 +- README.md | 2 +- lib/css/semantic-ui/tabulator_semantic-ui.css | 204 +++++++++--------- 3 files changed, 105 insertions(+), 105 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 8fbb953..e30337b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -24,8 +24,8 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} - - run: yarn - - run: yarn test + - run: npm install --legacy-peer-deps + - run: npm run test env: NODE_ENV: test PORT: 3003 diff --git a/README.md b/README.md index 59586de..212eb03 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Tabulator's features: ### 📦 Usage ``` -$ npm install react-tabulator +$ npm install react-tabulator --save import 'react-tabulator/lib/styles.css'; // required styles import 'react-tabulator/lib/css/tabulator.min.css'; // theme diff --git a/lib/css/semantic-ui/tabulator_semantic-ui.css b/lib/css/semantic-ui/tabulator_semantic-ui.css index 12f11fe..f69cf10 100644 --- a/lib/css/semantic-ui/tabulator_semantic-ui.css +++ b/lib/css/semantic-ui/tabulator_semantic-ui.css @@ -1,35 +1,35 @@ /* Tabulator v4.9.3 (c) Oliver Folkerd */ -/******************************* - Site Settings +/******************************* + Site Settings *******************************/ -/*------------------- - Fonts +/*------------------- + Fonts --------------------*/ -/*------------------- - Base Sizes +/*------------------- + Base Sizes --------------------*/ /* This is the single variable that controls them all */ /* The size of page text */ -/*------------------- - Exact Pixel Values +/*------------------- + Exact Pixel Values --------------------*/ -/* - These are used to specify exact pixel values in em - for things like borders that remain constantly - sized as emSize adjusts - - Since there are many more sizes than names for sizes, - these are named by their original pixel values. - +/* + These are used to specify exact pixel values in em + for things like borders that remain constantly + sized as emSize adjusts + + Since there are many more sizes than names for sizes, + these are named by their original pixel values. + */ -/*------------------- - Border Radius +/*------------------- + Border Radius --------------------*/ -/* See Power-user section below - for explanation of $px variables +/* See Power-user section below + for explanation of $px variables */ -/*------------------- - Site Colors +/*------------------- + Site Colors --------------------*/ /*--- Colors ---*/ /*--- Light Colors ---*/ @@ -38,101 +38,101 @@ /*--- Colored Text ---*/ /*--- Colored Headers ---*/ /*--- Colored Border ---*/ -/*------------------- - Alpha Colors +/*------------------- + Alpha Colors --------------------*/ -/*------------------- - Brand Colors +/*------------------- + Brand Colors --------------------*/ -/*-------------- - Page Heading +/*-------------- + Page Heading ---------------*/ -/*------------------- - Page +/*------------------- + Page --------------------*/ -/*-------------- - Form Input +/*-------------- + Form Input ---------------*/ /* This adjusts the default form input across all elements */ /* Input Text Color */ /* Line Height Default For Inputs in Browser (Descendors are 17px at 14px base em) */ -/*------------------- - Focused Input +/*------------------- + Focused Input --------------------*/ /* Used on inputs, textarea etc */ /* Used on dropdowns, other larger blocks */ -/*------------------- - Sizes +/*------------------- + Sizes --------------------*/ -/* - Sizes are all expressed in terms of 14px/em (default em) - This ensures these "ratios" remain constant despite changes in EM +/* + Sizes are all expressed in terms of 14px/em (default em) + This ensures these "ratios" remain constant despite changes in EM */ -/*------------------- - Paragraph +/*------------------- + Paragraph --------------------*/ -/*------------------- - Links +/*------------------- + Links --------------------*/ -/*------------------- - Highlighted Text +/*------------------- + Highlighted Text --------------------*/ -/*------------------- - Em Sizes +/*------------------- + Em Sizes --------------------*/ -/* - This rounds $size values to the closest pixel then expresses that value in (r)em. - This ensures all size values round to exact pixels +/* + This rounds $size values to the closest pixel then expresses that value in (r)em. + This ensures all size values round to exact pixels */ /* em */ /* rem */ -/*------------------- - Loader +/*------------------- + Loader --------------------*/ -/*------------------- - Grid +/*------------------- + Grid --------------------*/ -/*------------------- - Transitions +/*------------------- + Transitions --------------------*/ -/*------------------- - Breakpoints +/*------------------- + Breakpoints --------------------*/ /* Columns */ -/******************************* - Power-User +/******************************* + Power-User *******************************/ -/*------------------- - Emotive Colors +/*------------------- + Emotive Colors --------------------*/ /* Positive */ /* Negative */ /* Info */ /* Warning */ -/*------------------- - Paths +/*------------------- + Paths --------------------*/ /* For source only. Modified in gulp for dist */ -/*------------------- - Icons +/*------------------- + Icons --------------------*/ /* Maximum Glyph Width of Icon */ -/*------------------- - Neutral Text +/*------------------- + Neutral Text --------------------*/ -/*------------------- - Brand Colors +/*------------------- + Brand Colors --------------------*/ -/*------------------- - Borders +/*------------------- + Borders --------------------*/ -/*------------------- - Accents +/*------------------- + Accents --------------------*/ /* Differentiating Neutrals */ /* Differentiating Layers */ -/*------------------- - Derived Values +/*------------------- + Derived Values --------------------*/ /* Loaders Position Offset */ /* Rendered Scrollbar Width */ @@ -142,14 +142,14 @@ /* Minimum Mobile Width */ /* Positive / Negative Dupes */ /* Responsive */ -/******************************* - States +/******************************* + States *******************************/ -/*------------------- - Disabled +/*------------------- + Disabled --------------------*/ -/*------------------- - Hover +/*------------------- + Hover --------------------*/ /*--- Shadows ---*/ /*--- Colors ---*/ @@ -157,61 +157,61 @@ /*--- Brand ---*/ /*--- Dark Tones ---*/ /*--- Light Tones ---*/ -/*------------------- - Focus +/*------------------- + Focus --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Brand ---*/ /*--- Dark Tones ---*/ /*--- Light Tones ---*/ -/*------------------- - Down (:active) +/*------------------- + Down (:active) --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Brand ---*/ /*--- Dark Tones ---*/ /*--- Light Tones ---*/ -/*------------------- - Active +/*------------------- + Active --------------------*/ /*--- Colors ---*/ /*--- Emotive ---*/ /*--- Brand ---*/ /*--- Dark Tones ---*/ /*--- Light Tones ---*/ -/******************************* - Table +/******************************* + Table *******************************/ -/*------------------- - Element +/*------------------- + Element --------------------*/ -/*-------------- - Parts +/*-------------- + Parts ---------------*/ /* Table Row */ /* Table Cell */ /* Table Header */ /* Table Footer */ /* Responsive Size */ -/*------------------- - Types +/*------------------- + Types --------------------*/ /* Definition */ -/*-------------- - Couplings +/*-------------- + Couplings ---------------*/ -/*-------------- - States +/*-------------- + States ---------------*/ /* Positive */ /* Negative */ /* Error */ /* Warning */ /* Active */ -/*-------------- - Types +/*-------------- + Types ---------------*/ /* Attached */ /* Striped */