@trackunit/css-tailwind 0.0.137 → 0.0.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/css-tailwind",
3
- "version": "0.0.137",
3
+ "version": "0.0.139",
4
4
  "main": "./index.cjs.js",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -16,18 +16,21 @@
16
16
  --z-overlay: 10;
17
17
  --z-popover: 21;
18
18
  --z-toast: 100;
19
+ --spacing-responsive-space-sm: var(--spacing-1);
19
20
  --spacing-responsive-space: var(--spacing-3);
20
21
  --spacing-responsive-space-lg: var(--spacing-5);
21
22
  --color-sidebar: var(--color-gray-900);
22
23
  }
23
24
  @media (min-width: 768px) {
24
25
  :root {
26
+ --spacing-responsive-space-sm: var(--spacing-2);
25
27
  --spacing-responsive-space: var(--spacing-4);
26
28
  --spacing-responsive-space-lg: var(--spacing-6);
27
29
  }
28
30
  }
29
31
  @media (min-width: 1024px) {
30
32
  :root {
33
+ --spacing-responsive-space-sm: var(--spacing-3);
31
34
  --spacing-responsive-space: var(--spacing-5);
32
35
  --spacing-responsive-space-lg: var(--spacing-7);
33
36
  }
@@ -294,10 +297,10 @@
294
297
  color: #000;
295
298
  }
296
299
  .custom-day-picker .rdp-day_selected:not(.rdp-day_disabled):not(.rdp-day_outside) {
297
- background-color: rgb(var(--color-blue-600));
300
+ background-color: rgb(var(--color-primary-600));
298
301
  }
299
302
  .custom-day-picker .rdp-day_selected:not(.rdp-day__start):not(.rdp-day__end):not(.rdp-day__outside) {
300
- background-color: rgb(var(--color-blue-600));
303
+ background-color: rgb(var(--color-primary-600));
301
304
  color: #fff;
302
305
  }
303
306
  .custom-day-picker .rdp-day_selected:focus:not([disabled]) {
@@ -373,6 +373,17 @@ var ComponentTokensPlugin = (0, import_plugin2.default)(function ({ addComponent
373
373
  // libs/css/component-tokens/src/index.ts
374
374
  var src_default = ComponentTokensPlugin;
375
375
 
376
+ // libs/shared/utils/src/typeUtils.ts
377
+ var objectEntries = object =>
378
+ // eslint-disable-next-line local-rules/no-typescript-assertion, local-rules/prefer-custom-object-entries
379
+ Object.entries(object);
380
+ var objectFromEntries = entries => {
381
+ return Object.fromEntries(entries);
382
+ };
383
+ var objectKeys = object => {
384
+ return Object.keys(object).map(key => key);
385
+ };
386
+
376
387
  // libs/ui/design-tokens/src/tokens/borderRadius.ts
377
388
  var themeBorderRadius = {
378
389
  none: "0",
@@ -1297,14 +1308,6 @@ var designTokensToFontSizeTailwindConfig = fontSizes => {
1297
1308
  return Object.fromEntries(entries);
1298
1309
  };
1299
1310
 
1300
- // libs/shared/utils/src/typeUtils.ts
1301
- var objectEntries = object =>
1302
- // eslint-disable-next-line local-rules/no-typescript-assertion, local-rules/prefer-custom-object-entries
1303
- Object.entries(object);
1304
- var objectFromEntries = entries => {
1305
- return Object.fromEntries(entries);
1306
- };
1307
-
1308
1311
  // libs/css/tailwind/src/lib/utilities/themeColorsToVariableObjectDefinition.ts
1309
1312
  function themeColorsToVariableObjectDefinition(themeColors2) {
1310
1313
  return objectFromEntries(
@@ -1372,13 +1375,14 @@ var tailwindBaseConfig = {
1372
1375
  screens: themeScreenSize,
1373
1376
  colors: ({ colors }) => {
1374
1377
  const customColors = Object.fromEntries(
1375
- Object.entries(themeColors).map(([_, value]) => {
1376
- return [value.name, fullColorSchemeFromColorName(value.name, Object.keys(value.variants))];
1378
+ objectEntries(themeColors).map(([_, value]) => {
1379
+ return [value.name, fullColorSchemeFromColorName(value.name, objectKeys(value.variants))];
1377
1380
  })
1378
1381
  );
1379
1382
  const tailwindDefaults = Object.fromEntries(
1380
- Object.entries(tailwindPalette).map(([key, value]) => [
1383
+ objectEntries(tailwindPalette).map(([key, value]) => [
1381
1384
  key,
1385
+ // eslint-disable-next-line local-rules/prefer-custom-object-keys
1382
1386
  fullColorSchemeFromColorName(key, Object.keys(value)),
1383
1387
  ])
1384
1388
  );