aeico-components 0.1.1 → 0.1.3

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 (33) hide show
  1. package/dist/index.cjs +1182 -1182
  2. package/dist/index.js +1182 -1182
  3. package/package.json +63 -63
  4. package/src/styles/color.css +117 -117
  5. package/src/styles/components/alert.css +104 -104
  6. package/src/styles/components/badge.css +67 -67
  7. package/src/styles/components/breadcrumb-item.css +59 -59
  8. package/src/styles/components/breadcrumb.css +19 -19
  9. package/src/styles/components/button-group.css +25 -25
  10. package/src/styles/components/button.css +213 -213
  11. package/src/styles/components/card.css +64 -64
  12. package/src/styles/components/checkbox.css +78 -78
  13. package/src/styles/components/detail.css +127 -127
  14. package/src/styles/components/dialog.css +103 -103
  15. package/src/styles/components/divider.css +18 -18
  16. package/src/styles/components/dropdown-item.css +91 -91
  17. package/src/styles/components/dropdown.css +179 -179
  18. package/src/styles/components/icon-button.css +116 -116
  19. package/src/styles/components/icon.css +29 -29
  20. package/src/styles/components/navbar.css +250 -250
  21. package/src/styles/components/radio-group.css +360 -360
  22. package/src/styles/components/select-option.css +43 -43
  23. package/src/styles/components/select.css +222 -222
  24. package/src/styles/components/slider.css +326 -326
  25. package/src/styles/components/switch.css +117 -117
  26. package/src/styles/components/tab-panel.css +8 -8
  27. package/src/styles/components/tab.css +44 -44
  28. package/src/styles/components/tabs.css +16 -16
  29. package/src/styles/components/tag.css +107 -107
  30. package/src/styles/components/text-input.css +110 -110
  31. package/src/styles/layout.css +43 -43
  32. package/src/styles/size.css +7 -7
  33. package/src/styles/variables.css +368 -368
@@ -1,110 +1,110 @@
1
- :host {
2
- display: block;
3
- flex: 1;
4
- min-width: 0;
5
- font-size: var(--size-base);
6
-
7
- /* Layout variables */
8
- --input-field-gap: 4px;
9
-
10
- /* Input element variables */
11
- --input-font-size: 1em;
12
- --input-padding: 0.333em 0.583em;
13
- --input-border-width: 1px;
14
- --input-border-radius: 2px;
15
- --input-border-color: var(--border-subtle);
16
- --input-border-color-hover: var(--border-default);
17
- --input-border-color-focus: var(--border-focus);
18
- --input-bg: var(--surface-base);
19
- --input-bg-hover: var(--surface-raised);
20
- --input-bg-focus: var(--surface-raised);
21
- --input-color: var(--color-text-muted);
22
- --input-placeholder-color: var(--color-text-disabled);
23
- --input-transition: border-color 0.12s, background 0.12s;
24
- }
25
-
26
- .input-container {
27
- display: flex;
28
- align-items: center;
29
- gap: var(--input-field-gap);
30
- width: 100%;
31
- }
32
-
33
- input {
34
- flex: 1;
35
- min-width: 0;
36
- font-size: var(--input-font-size);
37
- padding: var(--input-padding);
38
- border: var(--input-border-width) solid var(--input-border-color);
39
- border-radius: var(--input-border-radius);
40
- background: var(--input-bg);
41
- color: var(--input-color);
42
- transition: var(--input-transition);
43
- }
44
-
45
- input::placeholder {
46
- color: var(--input-placeholder-color);
47
- }
48
-
49
- input:focus {
50
- outline: none;
51
- border-color: var(--input-border-color-focus);
52
- background: var(--input-bg-focus);
53
- }
54
-
55
- input:hover:not(:focus) {
56
- border-color: var(--input-border-color-hover);
57
- background: var(--input-bg-hover);
58
- }
59
-
60
- input:disabled {
61
- opacity: 0.5;
62
- cursor: not-allowed;
63
- }
64
-
65
- /* Clear button styles */
66
- .clear-btn {
67
- width: 1.333em;
68
- height: 1.333em;
69
- border: none;
70
- border-radius: var(--clear-btn-border-radius);
71
- cursor: pointer;
72
- display: flex;
73
- align-items: center;
74
- justify-content: center;
75
- background: var(--clear-btn-bg);
76
- color: var(--clear-btn-color);
77
- transition: var(--clear-btn-transition);
78
- flex-shrink: 0;
79
- line-height: 1;
80
- }
81
-
82
- .clear-btn:hover {
83
- background: var(--clear-btn-bg-hover);
84
- color: var(--clear-btn-color-hover);
85
- }
86
-
87
- /* Reset button styles */
88
- .reset-btn {
89
- width: 1.333em;
90
- height: 1.333em;
91
- border: none;
92
- border-radius: var(--reset-btn-border-radius);
93
- cursor: pointer;
94
- display: flex;
95
- align-items: center;
96
- justify-content: center;
97
- background: var(--reset-btn-bg);
98
- color: var(--reset-btn-color);
99
- transition: var(--reset-btn-transition);
100
- flex-shrink: 0;
101
- line-height: 1;
102
- }
103
-
104
- .reset-btn:hover {
105
- background: var(--reset-btn-bg-hover);
106
- color: var(--reset-btn-color-hover);
107
- }
108
-
109
-
110
-
1
+ :host {
2
+ display: block;
3
+ flex: 1;
4
+ min-width: 0;
5
+ font-size: var(--size-base);
6
+
7
+ /* Layout variables */
8
+ --input-field-gap: 4px;
9
+
10
+ /* Input element variables */
11
+ --input-font-size: 1em;
12
+ --input-padding: 0.333em 0.583em;
13
+ --input-border-width: 1px;
14
+ --input-border-radius: 2px;
15
+ --input-border-color: var(--border-subtle);
16
+ --input-border-color-hover: var(--border-default);
17
+ --input-border-color-focus: var(--border-focus);
18
+ --input-bg: var(--surface-base);
19
+ --input-bg-hover: var(--surface-raised);
20
+ --input-bg-focus: var(--surface-raised);
21
+ --input-color: var(--color-text-muted);
22
+ --input-placeholder-color: var(--color-text-disabled);
23
+ --input-transition: border-color 0.12s, background 0.12s;
24
+ }
25
+
26
+ .input-container {
27
+ display: flex;
28
+ align-items: center;
29
+ gap: var(--input-field-gap);
30
+ width: 100%;
31
+ }
32
+
33
+ input {
34
+ flex: 1;
35
+ min-width: 0;
36
+ font-size: var(--input-font-size);
37
+ padding: var(--input-padding);
38
+ border: var(--input-border-width) solid var(--input-border-color);
39
+ border-radius: var(--input-border-radius);
40
+ background: var(--input-bg);
41
+ color: var(--input-color);
42
+ transition: var(--input-transition);
43
+ }
44
+
45
+ input::placeholder {
46
+ color: var(--input-placeholder-color);
47
+ }
48
+
49
+ input:focus {
50
+ outline: none;
51
+ border-color: var(--input-border-color-focus);
52
+ background: var(--input-bg-focus);
53
+ }
54
+
55
+ input:hover:not(:focus) {
56
+ border-color: var(--input-border-color-hover);
57
+ background: var(--input-bg-hover);
58
+ }
59
+
60
+ input:disabled {
61
+ opacity: 0.5;
62
+ cursor: not-allowed;
63
+ }
64
+
65
+ /* Clear button styles */
66
+ .clear-btn {
67
+ width: 1.333em;
68
+ height: 1.333em;
69
+ border: none;
70
+ border-radius: var(--clear-btn-border-radius);
71
+ cursor: pointer;
72
+ display: flex;
73
+ align-items: center;
74
+ justify-content: center;
75
+ background: var(--clear-btn-bg);
76
+ color: var(--clear-btn-color);
77
+ transition: var(--clear-btn-transition);
78
+ flex-shrink: 0;
79
+ line-height: 1;
80
+ }
81
+
82
+ .clear-btn:hover {
83
+ background: var(--clear-btn-bg-hover);
84
+ color: var(--clear-btn-color-hover);
85
+ }
86
+
87
+ /* Reset button styles */
88
+ .reset-btn {
89
+ width: 1.333em;
90
+ height: 1.333em;
91
+ border: none;
92
+ border-radius: var(--reset-btn-border-radius);
93
+ cursor: pointer;
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: center;
97
+ background: var(--reset-btn-bg);
98
+ color: var(--reset-btn-color);
99
+ transition: var(--reset-btn-transition);
100
+ flex-shrink: 0;
101
+ line-height: 1;
102
+ }
103
+
104
+ .reset-btn:hover {
105
+ background: var(--reset-btn-bg-hover);
106
+ color: var(--reset-btn-color-hover);
107
+ }
108
+
109
+
110
+
@@ -1,43 +1,43 @@
1
- /*
2
- layout.css — Light DOM utility classes
3
- This file is for use in the user's light DOM (regular HTML),
4
- NOT imported by any Web Component internally.
5
-
6
- Import it once in your page:
7
- import 'aeico/styles/layout.css'
8
- or:
9
- <link rel="stylesheet" href="path/to/layout.css">
10
-
11
- The layout tokens defined here on :root are intentionally mirrored
12
- in variables.css (:root, :host) so that ae-navbar's shadow DOM
13
- inner content also aligns automatically.
14
- */
15
-
16
- /* Layout tokens — defined on :root so all light DOM elements can use them */
17
- :root {
18
- --container-max-width: 1280px;
19
- --container-padding-x: 1.5rem;
20
- }
21
-
22
- /*
23
- .container
24
- Fixed max-width, centred, with horizontal padding.
25
- Same padding-x as ae-navbar's inner content area.
26
- */
27
- .container {
28
- width: 100%;
29
- max-width: var(--container-max-width, 1280px);
30
- margin-inline: auto;
31
- padding-inline: var(--container-padding-x, 1.5rem);
32
- box-sizing: border-box;
33
- }
34
-
35
- /*
36
- .container-fluid
37
- Full-width, only applies horizontal padding.
38
- */
39
- .container-fluid {
40
- width: 100%;
41
- padding-inline: var(--container-padding-x, 1.5rem);
42
- box-sizing: border-box;
43
- }
1
+ /*
2
+ layout.css — Light DOM utility classes
3
+ This file is for use in the user's light DOM (regular HTML),
4
+ NOT imported by any Web Component internally.
5
+
6
+ Import it once in your page:
7
+ import 'aeico/styles/layout.css'
8
+ or:
9
+ <link rel="stylesheet" href="path/to/layout.css">
10
+
11
+ The layout tokens defined here on :root are intentionally mirrored
12
+ in variables.css (:root, :host) so that ae-navbar's shadow DOM
13
+ inner content also aligns automatically.
14
+ */
15
+
16
+ /* Layout tokens — defined on :root so all light DOM elements can use them */
17
+ :root {
18
+ --container-max-width: 1280px;
19
+ --container-padding-x: 1.5rem;
20
+ }
21
+
22
+ /*
23
+ .container
24
+ Fixed max-width, centred, with horizontal padding.
25
+ Same padding-x as ae-navbar's inner content area.
26
+ */
27
+ .container {
28
+ width: 100%;
29
+ max-width: var(--container-max-width, 1280px);
30
+ margin-inline: auto;
31
+ padding-inline: var(--container-padding-x, 1.5rem);
32
+ box-sizing: border-box;
33
+ }
34
+
35
+ /*
36
+ .container-fluid
37
+ Full-width, only applies horizontal padding.
38
+ */
39
+ .container-fluid {
40
+ width: 100%;
41
+ padding-inline: var(--container-padding-x, 1.5rem);
42
+ box-sizing: border-box;
43
+ }
@@ -1,7 +1,7 @@
1
- :host([size="xs"]) { font-size: var(--size-xs); }
2
- :host([size="sm"]) { font-size: var(--size-s); }
3
- :host([size="md"]) { font-size: var(--size-m); }
4
- :host([size="lg"]) { font-size: var(--size-l); }
5
- :host([size="xl"]) { font-size: var(--size-xl); }
6
- :host([size="3xs"]) { font-size: var(--size-3xs); }
7
- :host([size="2xs"]) { font-size: var(--size-2xs); }
1
+ :host([size="xs"]) { font-size: var(--size-xs); }
2
+ :host([size="sm"]) { font-size: var(--size-s); }
3
+ :host([size="md"]) { font-size: var(--size-m); }
4
+ :host([size="lg"]) { font-size: var(--size-l); }
5
+ :host([size="xl"]) { font-size: var(--size-xl); }
6
+ :host([size="3xs"]) { font-size: var(--size-3xs); }
7
+ :host([size="2xs"]) { font-size: var(--size-2xs); }