@dsn-starter-kit/core 3.4.0 → 4.0.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 +7 -4
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +7 -4
- package/dist/index.d.mts.map +1 -1
- package/package.json +2 -2
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
|
-
*
|
|
37
|
-
* Based on design tokens: dsn.form-control.
|
|
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
|
|
42
|
+
type FormControlInlineSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
40
43
|
//#endregion
|
|
41
|
-
export { type
|
|
44
|
+
export { type FormControlInlineSize, bem, bemModifiers, classNames };
|
|
42
45
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -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
|
|
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
|
-
*
|
|
37
|
-
* Based on design tokens: dsn.form-control.
|
|
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
|
|
42
|
+
type FormControlInlineSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
|
|
40
43
|
//#endregion
|
|
41
|
-
export { type
|
|
44
|
+
export { type FormControlInlineSize, bem, bemModifiers, classNames };
|
|
42
45
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -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
|
|
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
|
+
"version": "4.0.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": "
|
|
46
|
+
"@dsn-starter-kit/design-tokens": "4.0.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"typescript": "^5.3.3",
|