@dsn-starter-kit/core 3.5.0 → 4.1.0

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/dist/index.d.cts CHANGED
@@ -33,10 +33,13 @@ declare function bemModifiers(block: string, modifiers: (string | null | undefin
33
33
  * Form-related type definitions
34
34
  */
35
35
  /**
36
- * Width variants for form controls (inputs, textareas, etc.)
37
- * Based on design tokens: dsn.form-control.width.*
36
+ * Inline-size variants for form controls (inputs, textareas, etc.)
37
+ * Based on design tokens: dsn.form-control.inline-size.*
38
+ *
39
+ * Not every form control offers every variant; components narrow this
40
+ * type to the variants that make sense for their content.
38
41
  */
39
- type FormControlWidth = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
42
+ type FormControlInlineSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
40
43
  //#endregion
41
- export { type FormControlWidth, bem, bemModifiers, classNames };
44
+ export { type FormControlInlineSize, bem, bemModifiers, classNames };
42
45
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/utils/classNames.ts","../src/types/form.ts"],"mappings":";;;;;;;;;;iBASgB,cACX,gBAAgB;;;;;;;;;;iBA8BL,IACd,eACA,yBACA;;;;;;;;iBAsBc,aACd,eACA;;;;;;;;;;KC3DU"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/utils/classNames.ts","../src/types/form.ts"],"mappings":";;;;;;;;;;iBASgB,cACX,gBAAgB;;;;;;;;;;iBA8BL,IACd,eACA,yBACA;;;;;;;;iBAsBc,aACd,eACA;;;;;;;;;;;;;KCxDU"}
package/dist/index.d.mts CHANGED
@@ -33,10 +33,13 @@ declare function bemModifiers(block: string, modifiers: (string | null | undefin
33
33
  * Form-related type definitions
34
34
  */
35
35
  /**
36
- * Width variants for form controls (inputs, textareas, etc.)
37
- * Based on design tokens: dsn.form-control.width.*
36
+ * Inline-size variants for form controls (inputs, textareas, etc.)
37
+ * Based on design tokens: dsn.form-control.inline-size.*
38
+ *
39
+ * Not every form control offers every variant; components narrow this
40
+ * type to the variants that make sense for their content.
38
41
  */
39
- type FormControlWidth = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
42
+ type FormControlInlineSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
40
43
  //#endregion
41
- export { type FormControlWidth, bem, bemModifiers, classNames };
44
+ export { type FormControlInlineSize, bem, bemModifiers, classNames };
42
45
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../src/utils/classNames.ts","../src/types/form.ts"],"mappings":";;;;;;;;;;iBASgB,cACX,gBAAgB;;;;;;;;;;iBA8BL,IACd,eACA,yBACA;;;;;;;;iBAsBc,aACd,eACA;;;;;;;;;;KC3DU"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../src/utils/classNames.ts","../src/types/form.ts"],"mappings":";;;;;;;;;;iBASgB,cACX,gBAAgB;;;;;;;;;;iBA8BL,IACd,eACA,yBACA;;;;;;;;iBAsBc,aACd,eACA;;;;;;;;;;;;;KCxDU"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dsn-starter-kit/core",
3
- "version": "3.5.0",
3
+ "version": "4.1.0",
4
4
  "description": "Core styles and utilities for the design system",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -43,7 +43,7 @@
43
43
  "access": "public"
44
44
  },
45
45
  "dependencies": {
46
- "@dsn-starter-kit/design-tokens": "3.5.0"
46
+ "@dsn-starter-kit/design-tokens": "4.1.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "typescript": "^5.3.3",