@trackunit/css-tailwind 1.3.146 → 1.3.148

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": "1.3.146",
3
+ "version": "1.3.148",
4
4
  "main": "./index.cjs.js",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -9,10 +9,10 @@
9
9
  },
10
10
  "dependencies": {
11
11
  "tailwindcss": "3.4.3",
12
- "@trackunit/css-component-tokens": "1.3.140",
13
- "@trackunit/css-tailwind-custom-properties-plugin": "1.3.140",
14
- "@trackunit/ui-design-tokens": "1.3.138",
15
- "@trackunit/css-core": "1.3.139",
12
+ "@trackunit/css-component-tokens": "1.3.142",
13
+ "@trackunit/css-tailwind-custom-properties-plugin": "1.3.142",
14
+ "@trackunit/ui-design-tokens": "1.3.140",
15
+ "@trackunit/css-core": "1.3.141",
16
16
  "@tailwindcss/typography": "^0.5.10"
17
17
  },
18
18
  "type": "commonjs",
@@ -1,7 +1,7 @@
1
- export type Entries<TObject> = {
1
+ export type Entries<TObject> = Array<{
2
2
  [Key in keyof TObject]: [Key, TObject[Key]];
3
- }[keyof TObject][];
4
- type KeyValueTupleToObject<TEntries extends readonly (readonly [PropertyKey, unknown])[]> = {
3
+ }[keyof TObject]>;
4
+ type KeyValueTupleToObject<TEntries extends ReadonlyArray<readonly [PropertyKey, unknown]>> = {
5
5
  [Key in TEntries[number] as Key[0]]: Key[1];
6
6
  };
7
7
  /**
@@ -11,13 +11,13 @@ export declare const objectEntries: <TObject extends Record<PropertyKey, unknown
11
11
  /**
12
12
  * Converts an array of key-value pairs into an object.
13
13
  */
14
- export declare const objectFromEntries: <const TEntries extends readonly (readonly [PropertyKey, unknown])[]>(entries: TEntries) => KeyValueTupleToObject<TEntries>;
14
+ export declare const objectFromEntries: <const TEntries extends ReadonlyArray<readonly [PropertyKey, unknown]>>(entries: TEntries) => KeyValueTupleToObject<TEntries>;
15
15
  /**
16
16
  * Returns an array of the **correctly typed** keys of a given object.
17
17
  */
18
- export declare const objectKeys: <TObject extends Record<PropertyKey, unknown>>(object: TObject) => (keyof TObject)[];
18
+ export declare const objectKeys: <TObject extends Record<PropertyKey, unknown>>(object: TObject) => Array<keyof TObject>;
19
19
  /**
20
20
  * Returns an array of the **correctly typed** values of a given object.
21
21
  */
22
- export declare const objectValues: <TObject extends Record<PropertyKey, unknown>>(object: TObject) => TObject[keyof TObject][];
22
+ export declare const objectValues: <TObject extends Record<PropertyKey, unknown>>(object: TObject) => Array<TObject[keyof TObject]>;
23
23
  export {};
@@ -5397,6 +5397,7 @@ var require_tokenize = __commonJS({
5397
5397
  endColumn = start - offset;
5398
5398
  end = next;
5399
5399
  break;
5400
+ // Consume these characters as single tokens.
5400
5401
  case t.asterisk:
5401
5402
  case t.ampersand:
5402
5403
  case t.bang:
@@ -5792,6 +5793,7 @@ var require_parser = __commonJS({
5792
5793
  }
5793
5794
  break;
5794
5795
  }
5796
+ // Falls through
5795
5797
  case tokens.caret:
5796
5798
  if (next[_tokenize.FIELDS.TYPE] === tokens.equals) {
5797
5799
  node.operator = content;
@@ -6502,6 +6504,7 @@ var require_parser = __commonJS({
6502
6504
  case tokens.str:
6503
6505
  this.string();
6504
6506
  break;
6507
+ // These cases throw; no break needed.
6505
6508
  case tokens.closeSquare:
6506
6509
  this.missingSquareBracket();
6507
6510
  case tokens.semicolon:
@@ -8250,7 +8253,7 @@ var grids = {
8250
8253
 
8251
8254
  // libs/css/tailwind/src/lib/objectUtils.ts
8252
8255
  var objectEntries = object =>
8253
- // eslint-disable-next-line local-rules/no-typescript-assertion, local-rules/prefer-custom-object-entries
8256
+ // eslint-disable-next-line local-rules/no-typescript-assertion
8254
8257
  Object.entries(object);
8255
8258
  var objectFromEntries = entries => {
8256
8259
  return Object.fromEntries(entries);