@axinom/mosaic-ui 0.67.0-rc.2 → 0.67.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/components/Explorer/Explorer.d.ts.map +1 -1
- package/dist/components/FormElements/DateTimeField/DateTimeText.d.ts.map +1 -1
- package/dist/index.es.js +4 -4
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Accordion/Accordion.scss +1 -1
- package/src/components/Accordion/AccordionItem/AccordionItem.scss +2 -2
- package/src/components/Buttons/Button/Button.scss +5 -5
- package/src/components/Buttons/CompositeButton/CompositeButton.scss +5 -5
- package/src/components/Buttons/TextButton/TextButton.scss +4 -4
- package/src/components/ConfirmDialog/ConfirmDialog.scss +1 -1
- package/src/components/DateTime/DatePicker/DatePicker.scss +12 -12
- package/src/components/DateTime/TimePicker/ScrollColumn/ScrollColumn.scss +7 -7
- package/src/components/DateTime/TimePicker/TimePicker.scss +1 -1
- package/src/components/DynamicDataList/DynamicListHeader/DynamicListHeader.scss +2 -2
- package/src/components/DynamicDataList/DynamicListRow/DynamicListRow.scss +2 -2
- package/src/components/Explorer/Explorer.tsx +3 -1
- package/src/components/Filters/Filter/Filter.scss +9 -1
- package/src/components/Filters/SelectionTypes/DateTimeFilter/DateTimeFilter.scss +18 -4
- package/src/components/FormElements/Checkbox/Checkbox.scss +4 -4
- package/src/components/FormElements/CustomTags/CustomTags.scss +10 -4
- package/src/components/FormElements/CustomTags/CustomTags.tsx +1 -1
- package/src/components/FormElements/DateTimeField/DateTimeText.tsx +0 -6
- package/src/components/FormElements/FileUploadControl/FileUploadControl.scss +3 -3
- package/src/components/FormElements/Radio/Radio.scss +5 -5
- package/src/components/FormElements/Tags/Tags.scss +6 -2
- package/src/components/FormElements/Tags/Tags.tsx +1 -1
- package/src/components/FormElements/ToggleButton/ToggleButton.scss +7 -7
- package/src/components/List/List.scss +4 -4
- package/src/components/List/ListHeader/ListHeader.scss +2 -2
- package/src/components/List/ListRow/ListRow.scss +1 -1
- package/src/components/PageHeader/PageHeader.scss +1 -1
- package/src/components/Tabs/Tab/CustomTab.scss +4 -4
- package/src/components/Tabs/TabList/CustomTabList.scss +2 -2
- package/src/styles/branding.scss +32 -28
- package/src/styles/variables.scss +275 -150
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
display: grid;
|
|
7
7
|
height: 50px;
|
|
8
|
-
color: var(--
|
|
8
|
+
color: var(--tab-text-color, $tab-text-color);
|
|
9
9
|
font-size: 14px;
|
|
10
10
|
font-weight: bold;
|
|
11
11
|
border-bottom: none;
|
|
@@ -17,17 +17,17 @@
|
|
|
17
17
|
|
|
18
18
|
&.selected {
|
|
19
19
|
background: white;
|
|
20
|
-
color: var(--
|
|
20
|
+
color: var(--tab-selected-text-color, $tab-selected-text-color);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
&:hover:not(.selected):not(.disabled) {
|
|
24
|
-
background-color: var(--
|
|
24
|
+
background-color: var(--tab-hover-bg-color, $tab-hover-bg-color);
|
|
25
25
|
transition: background-color $confirmation-transition linear;
|
|
26
26
|
color: white;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
&.disabled {
|
|
30
|
-
color: var(--
|
|
30
|
+
color: var(--tab-disabled-text-color, $tab-disabled-text-color);
|
|
31
31
|
cursor: default;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
border: none;
|
|
5
5
|
margin: 0;
|
|
6
6
|
padding: 0;
|
|
7
|
-
background-color: var(--
|
|
8
|
-
border-top: 1px solid var(--
|
|
7
|
+
background-color: var(--tab-list-bg-color, $tab-list-bg-color);
|
|
8
|
+
border-top: 1px solid var(--tab-list-border-color, $tab-list-border-color);
|
|
9
9
|
}
|
package/src/styles/branding.scss
CHANGED
|
@@ -7,20 +7,20 @@
|
|
|
7
7
|
* ## CSS Custom Properties Defined
|
|
8
8
|
*
|
|
9
9
|
* ### Primary Colors (Blues)
|
|
10
|
-
* - `--
|
|
11
|
-
* - `--
|
|
12
|
-
* - `--
|
|
10
|
+
* - `--mosaic-primary`: Base primary light color (#28aae1)
|
|
11
|
+
* - `--mosaic-secondary`: Base variant (#1478af - auto-derived using RGB relative color syntax)
|
|
12
|
+
* - `--mosaic-accent`: Darker variant (#00467d - auto-derived using RGB relative color syntax)
|
|
13
13
|
*
|
|
14
14
|
* ### Neutral Colors (Grays)
|
|
15
|
-
* - `--
|
|
16
|
-
* - `--
|
|
17
|
-
* - `--
|
|
18
|
-
* - `--
|
|
15
|
+
* - `--mosaic-neutral`: Base neutral color (#b7b7b7)
|
|
16
|
+
* - `--mosaic-neutral-1`: Darker variant (#707070)
|
|
17
|
+
* - `--mosaic-neutral-2`: Lighter variant (#dddddd)
|
|
18
|
+
* - `--mosaic-neutral-3`: Lightest variant (#eeeeee)
|
|
19
19
|
*
|
|
20
20
|
* ### Semantic Colors
|
|
21
|
-
* - `--
|
|
22
|
-
* - `--
|
|
23
|
-
* - `--
|
|
21
|
+
* - `--mosaic-error`: Error/danger state color (#f06c55 - red)
|
|
22
|
+
* - `--mosaic-warning`: Warning state color (#ffc81a - yellow)
|
|
23
|
+
* - `--mosaic-success`: Success state color (#95c852 - green)
|
|
24
24
|
*
|
|
25
25
|
* ## Runtime Theming Usage
|
|
26
26
|
*
|
|
@@ -32,20 +32,20 @@
|
|
|
32
32
|
* Override colors in your application's CSS/SCSS:
|
|
33
33
|
*
|
|
34
34
|
* :root {
|
|
35
|
-
* --
|
|
36
|
-
* --
|
|
35
|
+
* --mosaic-secondary: #ff5733; // No !important needed
|
|
36
|
+
* --mosaic-neutral: #666666;
|
|
37
37
|
* }
|
|
38
38
|
*
|
|
39
39
|
* ### Example - Purple Theme
|
|
40
40
|
*
|
|
41
41
|
* :root {
|
|
42
|
-
* --
|
|
42
|
+
* --mosaic-primary: #9d7aed;
|
|
43
43
|
* }
|
|
44
|
-
* // --
|
|
44
|
+
* // --mosaic-secondary and --mosaic-accent automatically adjust!
|
|
45
45
|
*
|
|
46
46
|
* ### Dynamic Runtime Override
|
|
47
47
|
*
|
|
48
|
-
* document.documentElement.style.setProperty('--
|
|
48
|
+
* document.documentElement.style.setProperty('--mosaic-primary', '#9d7aed');
|
|
49
49
|
*
|
|
50
50
|
* ### Why This Works
|
|
51
51
|
*
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
*
|
|
57
57
|
* ## Browser Support
|
|
58
58
|
*
|
|
59
|
-
* - CSS Relative Color Syntax (`
|
|
59
|
+
* - CSS Relative Color Syntax (`rgb(from var(...))`) requires:
|
|
60
60
|
* - Chrome 119+
|
|
61
61
|
* - Firefox 128+
|
|
62
62
|
* - Safari 16.4+
|
|
@@ -69,21 +69,25 @@
|
|
|
69
69
|
*/
|
|
70
70
|
@layer ax-defaults {
|
|
71
71
|
:root {
|
|
72
|
-
/* Base Primary Color - override this to change the entire primary palette */
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
-
from var(--
|
|
72
|
+
/* Base Primary Light Color - override this to change the entire primary palette */
|
|
73
|
+
--mosaic-primary: #28aae1;
|
|
74
|
+
--mosaic-secondary: #1478af;
|
|
75
|
+
--mosaic-secondary: rgb(
|
|
76
|
+
from var(--mosaic-primary) calc(r * 0.5) calc(g * 0.706) calc(b * 0.778)
|
|
77
|
+
);
|
|
78
|
+
--mosaic-accent: #00467d;
|
|
79
|
+
--mosaic-accent: rgb(
|
|
80
|
+
from var(--mosaic-primary) calc(r * 0) calc(g * 0.412) calc(b * 0.556)
|
|
77
81
|
);
|
|
78
82
|
|
|
79
|
-
--
|
|
80
|
-
--
|
|
81
|
-
--
|
|
82
|
-
--
|
|
83
|
+
--mosaic-neutral: #b7b7b7;
|
|
84
|
+
--mosaic-neutral-1: #707070;
|
|
85
|
+
--mosaic-neutral-2: #dddddd;
|
|
86
|
+
--mosaic-neutral-3: #eeeeee;
|
|
83
87
|
|
|
84
88
|
/* Semantic Colors */
|
|
85
|
-
--
|
|
86
|
-
--
|
|
87
|
-
--
|
|
89
|
+
--mosaic-error: #f06c55;
|
|
90
|
+
--mosaic-warning: #ffc81a;
|
|
91
|
+
--mosaic-success: #95c852;
|
|
88
92
|
}
|
|
89
93
|
}
|