@sk-web-gui/core 3.14.0 → 3.16.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.
Files changed (58) hide show
  1. package/dist/cjs/aria-plugin.js +1 -2
  2. package/dist/cjs/aria-plugin.js.map +1 -1
  3. package/dist/cjs/components/accordion.js +16 -14
  4. package/dist/cjs/components/accordion.js.map +1 -1
  5. package/dist/cjs/components/countrycode.js +42 -0
  6. package/dist/cjs/components/countrycode.js.map +1 -0
  7. package/dist/cjs/components/file-upload.js +6 -0
  8. package/dist/cjs/components/file-upload.js.map +1 -1
  9. package/dist/cjs/components/footer.js +1 -1
  10. package/dist/cjs/components/footer.js.map +1 -1
  11. package/dist/cjs/components/input.js +103 -4
  12. package/dist/cjs/components/input.js.map +1 -1
  13. package/dist/cjs/components/logo.js +1 -1
  14. package/dist/cjs/components/logo.js.map +1 -1
  15. package/dist/cjs/components.js +8 -0
  16. package/dist/cjs/components.js.map +1 -1
  17. package/dist/cjs/data-plugin.js +1 -2
  18. package/dist/cjs/data-plugin.js.map +1 -1
  19. package/dist/cjs/fonts.js +7 -1
  20. package/dist/cjs/fonts.js.map +1 -1
  21. package/dist/cjs/index.js +6 -6
  22. package/dist/cjs/index.js.map +1 -1
  23. package/dist/cjs/plugin.js +4 -5
  24. package/dist/cjs/plugin.js.map +1 -1
  25. package/dist/cjs/with-opacity.js +1 -2
  26. package/dist/cjs/with-opacity.js.map +1 -1
  27. package/dist/esm/aria-plugin.js +1 -2
  28. package/dist/esm/aria-plugin.js.map +1 -1
  29. package/dist/esm/components/accordion.js +16 -14
  30. package/dist/esm/components/accordion.js.map +1 -1
  31. package/dist/esm/components/countrycode.js +32 -0
  32. package/dist/esm/components/countrycode.js.map +1 -0
  33. package/dist/esm/components/file-upload.js +6 -0
  34. package/dist/esm/components/file-upload.js.map +1 -1
  35. package/dist/esm/components/footer.js +1 -1
  36. package/dist/esm/components/footer.js.map +1 -1
  37. package/dist/esm/components/input.js +103 -4
  38. package/dist/esm/components/input.js.map +1 -1
  39. package/dist/esm/components/logo.js +1 -1
  40. package/dist/esm/components/logo.js.map +1 -1
  41. package/dist/esm/components.js +8 -0
  42. package/dist/esm/components.js.map +1 -1
  43. package/dist/esm/data-plugin.js +1 -2
  44. package/dist/esm/data-plugin.js.map +1 -1
  45. package/dist/esm/fonts.js +7 -1
  46. package/dist/esm/fonts.js.map +1 -1
  47. package/dist/esm/plugin.js +1 -2
  48. package/dist/esm/plugin.js.map +1 -1
  49. package/dist/esm/with-opacity.js +1 -2
  50. package/dist/esm/with-opacity.js.map +1 -1
  51. package/dist/types/components/accordion.d.ts +15 -13
  52. package/dist/types/components/countrycode.d.ts +30 -0
  53. package/dist/types/components/file-upload.d.ts +6 -0
  54. package/dist/types/components/footer.d.ts +1 -1
  55. package/dist/types/components/input.d.ts +112 -0
  56. package/dist/types/components/logo.d.ts +1 -1
  57. package/dist/types/fonts.d.ts +6 -0
  58. package/package.json +6 -6
@@ -1,5 +1,101 @@
1
1
  export declare const Input: () => {
2
2
  '.sk-form-input': {
3
+ '&-addon': {
4
+ '.sk-form-input': {
5
+ '@apply rounded-0': {};
6
+ '@apply border-0': {};
7
+ '@apply focus:ring-0': {};
8
+ '@apply focus:ring-offset-0': {};
9
+ '@apply bg-transparent': {};
10
+ '@apply dark:bg-transparent': {};
11
+ '@apply grow': {};
12
+ };
13
+ '.sk-form-select': {
14
+ '@apply rounded-0': {};
15
+ '@apply border-0 hover:border-0': {};
16
+ '@apply focus:ring-0 focus:z-10': {};
17
+ '@apply focus:ring-offset-0': {};
18
+ '@apply bg-transparent hover:bg-transparent': {};
19
+ '@apply dark:bg-transparent hover:dark:bg-transparent': {};
20
+ '@apply grow': {};
21
+ };
22
+ '&&-left .sk-form-select': {
23
+ '@apply border-r-1 border-r-divider': {};
24
+ '@apply focus:border-r-transparent': {};
25
+ };
26
+ '&&-right .sk-form-select': {
27
+ '@apply border-l-1 border-l-divider': {};
28
+ '@apply focus:border-l-transparent': {};
29
+ };
30
+ '.sk-form-combobox': {
31
+ '@apply rounded-0': {};
32
+ '@apply border-0': {};
33
+ '@apply focus-within:ring-0': {};
34
+ '@apply focus-within:ring-offset-0': {};
35
+ '@apply bg-transparent': {};
36
+ '@apply dark:bg-transparent': {};
37
+ };
38
+ '&&-left .sk-form-combobox': {
39
+ '@apply border-r-1 border-r-divider': {};
40
+ '@apply focus:border-r-transparent': {};
41
+ };
42
+ '&&-right .sk-form-combobox': {
43
+ '@apply border-l-1 border-l-divider': {};
44
+ '@apply focus:border-l-transparent': {};
45
+ };
46
+ '@apply border-1': {};
47
+ '@apply border-input-field-outline': {};
48
+ '@apply hover:border-input-field-outline-hover': {};
49
+ '@apply placeholder:text-dark-placeholder': {};
50
+ '@apply bg-input-field-surface': {};
51
+ '&:invalid, &[aria-invalid="true"]': {
52
+ '@apply border-2 border-error-surface-primary': {};
53
+ };
54
+ '&:disabled, &[aria-disabled="true"]': {
55
+ '@apply bg-input-field-surface-disabled': {};
56
+ '@apply border-input-field-outline-disabled': {};
57
+ '@apply hover:border-input-field-outline-disabled': {};
58
+ '@apply text-dark-disabled': {};
59
+ };
60
+ '&:read-only': {
61
+ '@apply bg-input-field-surface': {};
62
+ '@apply border-input-field-outline-disabled': {};
63
+ '@apply text-dark-secondary': {};
64
+ '@apply placeholder:text-dark-secondary': {};
65
+ };
66
+ '@apply flex relative': {};
67
+ '@apply items-center': {};
68
+ '@apply focus-within:ring': {};
69
+ '@apply focus-within:ring-ring': {};
70
+ '@apply text-dark-secondary': {};
71
+ '@apply focus-within:border-input-field-surface': {};
72
+ '&:not(:invalid):not([aria-invalid="true"])': {
73
+ '@apply focus-within:border-input-field-surface': {};
74
+ };
75
+ '&&-lg': {
76
+ '@apply text-input-large': {};
77
+ '@apply rounded-button-lg': {};
78
+ '@apply h-48': {};
79
+ };
80
+ '&&-md': {
81
+ '@apply text-input-medium': {};
82
+ '@apply rounded-button-md': {};
83
+ '@apply h-40': {};
84
+ };
85
+ '&&-sm': {
86
+ '@apply text-input-small': {};
87
+ '@apply rounded-button-sm': {};
88
+ '@apply h-32': {};
89
+ };
90
+ '&&-left': {
91
+ '@apply rounded-r-0': {};
92
+ '@apply border-r-0': {};
93
+ };
94
+ '&&-right': {
95
+ '@apply rounded-l-0': {};
96
+ '@apply border-l-0': {};
97
+ };
98
+ };
3
99
  '&-addin': {
4
100
  '@apply bg-transparent': {};
5
101
  '@apply flex': {};
@@ -77,6 +173,9 @@ export declare const Input: () => {
77
173
  '@apply text-dark-secondary': {};
78
174
  '@apply placeholder:text-dark-secondary': {};
79
175
  };
176
+ '&-wrapper': {
177
+ '@apply flex gap-0': {};
178
+ };
80
179
  '@apply flex relative': {};
81
180
  '@apply items-center': {};
82
181
  '@apply focus-within:ring': {};
@@ -89,14 +188,27 @@ export declare const Input: () => {
89
188
  '&&-lg': {
90
189
  '@apply text-input-large': {};
91
190
  '@apply rounded-button-lg': {};
191
+ '@apply h-48': {};
92
192
  };
93
193
  '&&-md': {
94
194
  '@apply text-input-medium': {};
95
195
  '@apply rounded-button-md': {};
196
+ '@apply h-40': {};
96
197
  };
97
198
  '&&-sm': {
98
199
  '@apply text-input-small': {};
99
200
  '@apply rounded-button-sm': {};
201
+ '@apply h-32': {};
202
+ };
203
+ '&[data-hasleftaddon="true"]': {
204
+ '@apply pl-0': {};
205
+ '@apply rounded-l-0': {};
206
+ '@apply border-l-0': {};
207
+ };
208
+ '&[data-hasrightaddon="true"]': {
209
+ '@apply pr-0': {};
210
+ '@apply rounded-r-0': {};
211
+ '@apply border-r-0': {};
100
212
  };
101
213
  };
102
214
  '@apply border-1': {};
@@ -18,7 +18,7 @@ export declare const Logo: () => {
18
18
  '@apply h-60': {};
19
19
  '@apply pb-4': {};
20
20
  '.sk-logo-figure': {
21
- '@apply w-auto h-56': {};
21
+ '@apply w-34 h-56': {};
22
22
  };
23
23
  };
24
24
  'a:focus-within &': {
@@ -5,4 +5,10 @@ export declare const fonts: {
5
5
  sans: string;
6
6
  serif: string;
7
7
  mono: string;
8
+ flag: string;
9
+ 'flag-header': string;
10
+ 'flag-display': string;
11
+ 'flag-sans': string;
12
+ 'flag-serif': string;
13
+ 'flag-mono': string;
8
14
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sk-web-gui/core",
3
- "version": "3.14.0",
3
+ "version": "3.16.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "./dist/cjs/index.js",
@@ -29,17 +29,17 @@
29
29
  "build:types": "tsc -p ./tsconfig.production.json --emitDeclarationOnly --declaration --declarationDir dist/types"
30
30
  },
31
31
  "devDependencies": {
32
- "autoprefixer": "^10.4.20",
32
+ "autoprefixer": "^10.4.21",
33
33
  "clean-css": "^5.3.3",
34
- "postcss": "^8.5.1",
35
- "postcss-import": "^16.1.0"
34
+ "postcss": "^8.5.6",
35
+ "postcss-import": "^16.1.1"
36
36
  },
37
37
  "dependencies": {
38
- "@sk-web-gui/theme": "2.5.1",
38
+ "@sk-web-gui/theme": "2.6.0",
39
39
  "@tailwindcss/container-queries": "^0.1.1",
40
40
  "@tailwindcss/forms": "^0.5.10",
41
41
  "mini-svg-data-uri": "^1.4.4",
42
42
  "tailwindcss": "^3.4.17"
43
43
  },
44
- "gitHead": "2bf411166419e3932d8ab344931f6ac36694c301"
44
+ "gitHead": "07921087d198ec037edb1fc5d7dc12ad40b9eb7b"
45
45
  }