@lavalogic/scoria 0.40.32 → 0.40.33
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/README.md +58 -58
- package/dist/Components/AccordionGroup.svelte +28 -28
- package/dist/Components/AccordionGroupButton.svelte +60 -60
- package/dist/Components/Action.svelte +48 -48
- package/dist/Components/AlertModal.svelte +102 -102
- package/dist/Components/Base/ContextWrapper.svelte +45 -45
- package/dist/Components/Base/Pagination.svelte +135 -135
- package/dist/Components/Base/Snippets.svelte +25 -25
- package/dist/Components/BigRadioSet.svelte +34 -34
- package/dist/Components/Bubble.svelte +38 -38
- package/dist/Components/Button.svelte +83 -83
- package/dist/Components/Checkbox.svelte +71 -71
- package/dist/Components/CollapsibleCard.svelte +59 -59
- package/dist/Components/CollapsibleMenuGroup.svelte +43 -43
- package/dist/Components/ConditionBuilder/ConditionBuilder.svelte +101 -101
- package/dist/Components/Contexts/ContextMenu.svelte +76 -76
- package/dist/Components/Contexts/ContextMenuDivider.svelte +15 -15
- package/dist/Components/Contexts/ContextMenuOption.svelte +38 -38
- package/dist/Components/Contexts/Toast.svelte +71 -71
- package/dist/Components/Contexts/ToastContainer.svelte +34 -34
- package/dist/Components/Contexts/Tooltip.svelte +32 -32
- package/dist/Components/DataMatrixIcon.svelte +37 -37
- package/dist/Components/DateInput.svelte +80 -80
- package/dist/Components/DatePicker.svelte +86 -86
- package/dist/Components/DesktopModal.svelte +65 -65
- package/dist/Components/Dial.svelte +35 -35
- package/dist/Components/DimensionInput.svelte +95 -95
- package/dist/Components/DragMenu/DragMenuHolder.svelte +53 -53
- package/dist/Components/DragMenu/DraggableCard.svelte +49 -49
- package/dist/Components/FileCard.svelte +18 -18
- package/dist/Components/FileUpload.svelte +115 -115
- package/dist/Components/GridInput.svelte +123 -123
- package/dist/Components/GridInputSet.svelte +21 -21
- package/dist/Components/HorizontalTabGroup.svelte +54 -54
- package/dist/Components/HorizontalTabGroupButton.svelte +32 -32
- package/dist/Components/Icon.svelte +68 -68
- package/dist/Components/InfoAlert.svelte +32 -32
- package/dist/Components/LoadingAnimation.svelte +228 -227
- package/dist/Components/LoadingModal.svelte +19 -19
- package/dist/Components/LoadingOverlay.svelte +20 -20
- package/dist/Components/Modal.svelte +127 -127
- package/dist/Components/MultiSelect.svelte +126 -126
- package/dist/Components/Nav/Nav.svelte +71 -71
- package/dist/Components/Nav/NavServiceMenuList.svelte +37 -37
- package/dist/Components/Nav/NavTab.svelte +46 -46
- package/dist/Components/Nav/ServiceMenuItem.svelte +62 -62
- package/dist/Components/Nav/ServicesNav.svelte +50 -50
- package/dist/Components/NumberInput.svelte +98 -98
- package/dist/Components/OptionCards.svelte +58 -58
- package/dist/Components/PageHeading.svelte +21 -21
- package/dist/Components/PasswordInput.svelte +61 -61
- package/dist/Components/PopoverButton.svelte +53 -53
- package/dist/Components/Portal.svelte +7 -7
- package/dist/Components/ProgressBubble.svelte +42 -42
- package/dist/Components/QuerySelect.svelte +102 -102
- package/dist/Components/ResourceCalendar/ResourceCalendar.svelte +241 -241
- package/dist/Components/SidebarPanel.svelte +32 -32
- package/dist/Components/SingleSelect.svelte +122 -122
- package/dist/Components/StepButton.svelte +48 -48
- package/dist/Components/StepForm.svelte +58 -58
- package/dist/Components/Switch.svelte +43 -43
- package/dist/Components/Table/ARCHITECTURE.md +298 -298
- package/dist/Components/Table/Body/Rows/ColumnHighlight.svelte +30 -30
- package/dist/Components/Table/Body/Rows/ColumnList.svelte +24 -24
- package/dist/Components/Table/Body/Rows/ColumnListRow.svelte +165 -165
- package/dist/Components/Table/Body/Rows/Columns/AccessorComponent.svelte +13 -13
- package/dist/Components/Table/Body/Rows/Columns/ActionsCell.svelte +120 -120
- package/dist/Components/Table/Body/Rows/Columns/BubbleCell.svelte +81 -81
- package/dist/Components/Table/Body/Rows/Columns/ExpandCell.svelte +92 -92
- package/dist/Components/Table/Body/Rows/Columns/FocusableImmutableCell.svelte +110 -110
- package/dist/Components/Table/Body/Rows/Columns/ProgressCell.svelte +54 -54
- package/dist/Components/Table/Body/Rows/Columns/TableAction.svelte +35 -35
- package/dist/Components/Table/Body/Rows/Columns/TableCheckbox.svelte +64 -64
- package/dist/Components/Table/Body/Rows/Columns/TableColumn.svelte +82 -82
- package/dist/Components/Table/Body/Rows/Columns/TableDatePicker.svelte +88 -88
- package/dist/Components/Table/Body/Rows/Columns/TableNumberInput.svelte +90 -90
- package/dist/Components/Table/Body/Rows/Columns/TableQuerySelect.svelte +96 -96
- package/dist/Components/Table/Body/Rows/Columns/TableRowSelectionCheckbox.svelte +71 -71
- package/dist/Components/Table/Body/Rows/Columns/TableSelect.svelte +124 -124
- package/dist/Components/Table/Body/Rows/Columns/TableTextInput.svelte +91 -91
- package/dist/Components/Table/Body/Rows/Columns/ValidityCell.svelte +88 -88
- package/dist/Components/Table/Body/Rows/TableRow.svelte +127 -127
- package/dist/Components/Table/Body/TableBody.svelte +92 -92
- package/dist/Components/Table/Headers/HighlightAllHeader.svelte +25 -25
- package/dist/Components/Table/Headers/SelectAllHeader.svelte +20 -20
- package/dist/Components/Table/Headers/TableHead.svelte +175 -175
- package/dist/Components/Table/Misc/ColumnPanel.svelte +32 -32
- package/dist/Components/Table/Misc/ColumnPanelModal.svelte +29 -29
- package/dist/Components/Table/Misc/FilterInput.svelte +326 -326
- package/dist/Components/Table/Misc/FilterPanel.svelte +79 -79
- package/dist/Components/Table/Misc/FilterPanelModal.svelte +21 -21
- package/dist/Components/Table/Misc/ShareViewModal.svelte +118 -118
- package/dist/Components/Table/Misc/SidePanel.svelte +24 -24
- package/dist/Components/Table/Misc/TableConfigurationModal.svelte +318 -318
- package/dist/Components/Table/Misc/TableFooter.svelte +201 -201
- package/dist/Components/Table/Misc/TableHorizontalBar.svelte +112 -112
- package/dist/Components/Table/Misc/TableSidebar.svelte +116 -116
- package/dist/Components/Table/Misc/TableViewDropdown.svelte +25 -25
- package/dist/Components/Table/Misc/ToolboxPanel.svelte +60 -60
- package/dist/Components/Table/Misc/ToolboxPanelModal.svelte +63 -63
- package/dist/Components/Table/Misc/UpdateViewOptionsModal.svelte +101 -101
- package/dist/Components/Table/NestedTable.svelte +29 -29
- package/dist/Components/Table/Table.svelte +140 -140
- package/dist/Components/Test/TestContextConsumer.svelte +8 -8
- package/dist/Components/TextArea.svelte +92 -90
- package/dist/Components/TextInput.svelte +128 -117
- package/dist/Components/ThreeStateRadio.svelte +101 -101
- package/dist/Components/Touch/BoolCard.svelte +27 -27
- package/dist/Components/Touch/DateModal.svelte +98 -98
- package/dist/Components/Touch/EditCard.svelte +44 -44
- package/dist/Components/Touch/InfoCard.svelte +25 -25
- package/dist/Components/Touch/InfoTextCard.svelte +22 -22
- package/dist/Components/Touch/ModalExplanation.svelte +13 -13
- package/dist/Components/Touch/NumberKeyboard.svelte +81 -81
- package/dist/Components/Touch/NumberModal.svelte +49 -49
- package/dist/Components/Touch/PlusMinusCard.svelte +40 -40
- package/dist/Components/Touch/SelectModal.svelte +86 -86
- package/dist/Components/Touch/SummaryCard.svelte +74 -74
- package/dist/Components/Touch/TextAreaModal.svelte +53 -53
- package/dist/Components/Touch/TextModal.svelte +56 -56
- package/dist/Components/Touch/TouchCard.svelte +28 -28
- package/dist/Components/Touch/TouchModal.svelte +141 -141
- package/dist/Components/Touch/UtilityButton.svelte +63 -63
- package/dist/Components/VerticalTabGroup.svelte +38 -38
- package/dist/Components/VerticalTabGroupButton.svelte +46 -46
- package/dist/Helpers/Datamatrix.d.ts +19 -19
- package/dist/Helpers/Datamatrix.js +291 -291
- package/dist/Types/Examples/ExampleModal.svelte +27 -27
- package/dist/paraglide/README.md +1 -1
- package/dist/scss/_basics.scss +12 -12
- package/dist/scss/_colours.scss +140 -140
- package/dist/scss/_motion.scss +57 -57
- package/dist/scss/_sizing.scss +85 -85
- package/dist/scss/_transitions.scss +8 -8
- package/package.json +1 -1
package/dist/scss/_colours.scss
CHANGED
|
@@ -1,140 +1,140 @@
|
|
|
1
|
-
$transparent-0: rgba(0, 0, 0, 0);
|
|
2
|
-
$transparent-10: rgba(0, 0, 0, 0.1);
|
|
3
|
-
$transparent-20: rgba(0, 0, 0, 0.2);
|
|
4
|
-
|
|
5
|
-
$ui-black: #000000;
|
|
6
|
-
$ui-white: #ffffff;
|
|
7
|
-
$purple: #9b51e0; // For Testing
|
|
8
|
-
|
|
9
|
-
$ui-blue-1: #f4f7f9;
|
|
10
|
-
$ui-blue-2: #e9ecf1;
|
|
11
|
-
$ui-blue-3: #dae0e5;
|
|
12
|
-
$ui-blue-4: #cbd4da; // Standard Border Colour
|
|
13
|
-
$ui-blue-5: #bcc8d0;
|
|
14
|
-
$ui-blue-6: #adbbc5;
|
|
15
|
-
$ui-blue-7: #9eafba;
|
|
16
|
-
$ui-blue-8: #8fa3b0;
|
|
17
|
-
$ui-blue-9: #8096a5; // Font Disabled
|
|
18
|
-
$ui-blue-10: #718a9b;
|
|
19
|
-
$ui-blue-11: #647d8e; // Font Secondary
|
|
20
|
-
$ui-blue-12: #5a707f;
|
|
21
|
-
$ui-blue-13: #4f6370;
|
|
22
|
-
$ui-blue-14: #455661;
|
|
23
|
-
$ui-blue-15: #3a4952; // Font Primary
|
|
24
|
-
$ui-blue-16: #2f3b43;
|
|
25
|
-
$ui-blue-17: #252e34;
|
|
26
|
-
$ui-blue-18: #1a2125;
|
|
27
|
-
$ui-blue-19: #101416;
|
|
28
|
-
$ui-blue-20: #050707;
|
|
29
|
-
|
|
30
|
-
$primary-blue-1: #f4fbfd;
|
|
31
|
-
$primary-blue-2: #e6f8fd;
|
|
32
|
-
$primary-blue-3: #caeaf5;
|
|
33
|
-
$primary-blue-4: #b4e2f0;
|
|
34
|
-
$primary-blue-5: #9fdaec;
|
|
35
|
-
$primary-blue-6: #8ad1e8;
|
|
36
|
-
$primary-blue-7: #74c9e4;
|
|
37
|
-
$primary-blue-8: #5fc1e0;
|
|
38
|
-
$primary-blue-9: #49b8dc;
|
|
39
|
-
$primary-blue-10: #34b0d8;
|
|
40
|
-
$primary-blue-11: #259fc7; // Brand Primary
|
|
41
|
-
$primary-blue-12: #2392b5;
|
|
42
|
-
$primary-blue-13: #1f81a0; // Brand Dark
|
|
43
|
-
$primary-blue-14: #1b708b;
|
|
44
|
-
$primary-blue-15: #175f75;
|
|
45
|
-
$primary-blue-16: #134d60;
|
|
46
|
-
$primary-blue-17: #0f3c4b;
|
|
47
|
-
$primary-blue-18: #0a2b35;
|
|
48
|
-
$primary-blue-19: #061a20;
|
|
49
|
-
$primary-blue-20: #02090b;
|
|
50
|
-
|
|
51
|
-
$primary-background: #edfaff;
|
|
52
|
-
$brand-primary: #259fc7;
|
|
53
|
-
$brand-dark: #1f81a0;
|
|
54
|
-
$brand-dark-transparent-20: rgba(31, 129, 160, 0.2);
|
|
55
|
-
$brand-dark-transparent-40: rgba(31, 129, 160, 0.4);
|
|
56
|
-
|
|
57
|
-
$font-primary: #3a4952;
|
|
58
|
-
$font-secondary-heading: #46525b;
|
|
59
|
-
$font-secondary: #647d8e;
|
|
60
|
-
$font-disabled: #8096a5;
|
|
61
|
-
|
|
62
|
-
$error: #c31818;
|
|
63
|
-
$error-border: #aa1414;
|
|
64
|
-
$error-background: #f9e9e9;
|
|
65
|
-
$warning: #f8eab8;
|
|
66
|
-
$warning-border: #e7b500;
|
|
67
|
-
// Success / positive-confirmation state, mirroring the $error triplet.
|
|
68
|
-
// Hue matches $despatched-background (#2f921d) so it sits in the existing
|
|
69
|
-
// palette rather than introducing a new green.
|
|
70
|
-
$success: #2f921d;
|
|
71
|
-
$success-border: #277a18;
|
|
72
|
-
$success-background: #eaf5e7;
|
|
73
|
-
|
|
74
|
-
$allocated-background: #e7b100;
|
|
75
|
-
$in-picking-background: #ec58c3;
|
|
76
|
-
$in-picking-colour: #720653;
|
|
77
|
-
$picked-background: #bd2e95;
|
|
78
|
-
$in-sorting-background: #b259ea;
|
|
79
|
-
$in-sorting-colour: #560985;
|
|
80
|
-
$sorted-background: #9032ca;
|
|
81
|
-
$in-kitting-background: #9d85fc;
|
|
82
|
-
$in-kitting-colour: #4129a4;
|
|
83
|
-
$kitted-background: #6e51e0;
|
|
84
|
-
$in-packing-background: #8ab1df;
|
|
85
|
-
$in-packing-colour: #103977;
|
|
86
|
-
$packed-background: #3e6eb5;
|
|
87
|
-
$in-marshalling-background: #8ad0df;
|
|
88
|
-
$in-marshalling-colour: #13758a;
|
|
89
|
-
$marshalled-background: #3ea0b5;
|
|
90
|
-
$in-loading-background: #8adfc8;
|
|
91
|
-
$in-loading-colour: #126a51;
|
|
92
|
-
$loaded-background: #3eb592;
|
|
93
|
-
$in-despatch-background: #7bbc6f;
|
|
94
|
-
$in-despatch-colour: #104c05;
|
|
95
|
-
$despatched-background: #2f921d;
|
|
96
|
-
|
|
97
|
-
// Borders are $ui-blue-4
|
|
98
|
-
|
|
99
|
-
// $ui-two: #ececec;
|
|
100
|
-
// $ui-three: #c0c0c0;
|
|
101
|
-
// $ui-four: #515b65;
|
|
102
|
-
// $ui-four: #9B51E0;
|
|
103
|
-
// $ui-seven: #d5dbe0;
|
|
104
|
-
// $ui-eight: #fcfcfc;
|
|
105
|
-
// $ui-grey: #c0c8ce;
|
|
106
|
-
// $main: #54636d;
|
|
107
|
-
$alt: #8f989e;
|
|
108
|
-
// $background-light: #dce1e5;
|
|
109
|
-
// $background: #f6f7f8;
|
|
110
|
-
// $background-dark: #e8ebed;
|
|
111
|
-
// $dark-blue: #3888c1;
|
|
112
|
-
// $primary: #2f97ba;
|
|
113
|
-
// $info-text: #0e82ae;
|
|
114
|
-
// $info-light-text: #6ac1e8;
|
|
115
|
-
// $primary-dark: #0e7598;
|
|
116
|
-
// $primary-hover: hsl(205, 55%, 35%);
|
|
117
|
-
// $brand-one: #4db0da;
|
|
118
|
-
// $brand-two: #18769d;
|
|
119
|
-
// $shipments: #129acd;
|
|
120
|
-
// $progress: #259abf;
|
|
121
|
-
|
|
122
|
-
// $dark-blue-transparent: rgba(56, 136, 193, 0.2);
|
|
123
|
-
// $dark-blue-semi-transparent: rgba(56, 136, 193, 0.4);
|
|
124
|
-
// $secondary: #4f5a63;
|
|
125
|
-
// $info-background: #d6effa;
|
|
126
|
-
// $info-light-background: #f3f9fb;
|
|
127
|
-
// $hovered: rgba(166, 167, 168, 0.369);
|
|
128
|
-
// $white: #fff;
|
|
129
|
-
// $light-border: #ced2d6;
|
|
130
|
-
// $state-info: #e8f6fd;
|
|
131
|
-
// $state-info--alt: #f9fdff;
|
|
132
|
-
// $ui-dark-opacity: rgba(0, 0, 0, 0.2);
|
|
133
|
-
// $info-text-text: #525252;
|
|
134
|
-
// $info-text-background: #f6fcfe;
|
|
135
|
-
// $marked: #e8f6fd;
|
|
136
|
-
// $marked: #f9fdff;
|
|
137
|
-
// $side-menu-background: #eef1f3;
|
|
138
|
-
// $label: #6d7883;
|
|
139
|
-
// $warehouse-bubble: #c3cad3;
|
|
140
|
-
// $warning: rgba(231, 181, 0, 0.228);
|
|
1
|
+
$transparent-0: rgba(0, 0, 0, 0);
|
|
2
|
+
$transparent-10: rgba(0, 0, 0, 0.1);
|
|
3
|
+
$transparent-20: rgba(0, 0, 0, 0.2);
|
|
4
|
+
|
|
5
|
+
$ui-black: #000000;
|
|
6
|
+
$ui-white: #ffffff;
|
|
7
|
+
$purple: #9b51e0; // For Testing
|
|
8
|
+
|
|
9
|
+
$ui-blue-1: #f4f7f9;
|
|
10
|
+
$ui-blue-2: #e9ecf1;
|
|
11
|
+
$ui-blue-3: #dae0e5;
|
|
12
|
+
$ui-blue-4: #cbd4da; // Standard Border Colour
|
|
13
|
+
$ui-blue-5: #bcc8d0;
|
|
14
|
+
$ui-blue-6: #adbbc5;
|
|
15
|
+
$ui-blue-7: #9eafba;
|
|
16
|
+
$ui-blue-8: #8fa3b0;
|
|
17
|
+
$ui-blue-9: #8096a5; // Font Disabled
|
|
18
|
+
$ui-blue-10: #718a9b;
|
|
19
|
+
$ui-blue-11: #647d8e; // Font Secondary
|
|
20
|
+
$ui-blue-12: #5a707f;
|
|
21
|
+
$ui-blue-13: #4f6370;
|
|
22
|
+
$ui-blue-14: #455661;
|
|
23
|
+
$ui-blue-15: #3a4952; // Font Primary
|
|
24
|
+
$ui-blue-16: #2f3b43;
|
|
25
|
+
$ui-blue-17: #252e34;
|
|
26
|
+
$ui-blue-18: #1a2125;
|
|
27
|
+
$ui-blue-19: #101416;
|
|
28
|
+
$ui-blue-20: #050707;
|
|
29
|
+
|
|
30
|
+
$primary-blue-1: #f4fbfd;
|
|
31
|
+
$primary-blue-2: #e6f8fd;
|
|
32
|
+
$primary-blue-3: #caeaf5;
|
|
33
|
+
$primary-blue-4: #b4e2f0;
|
|
34
|
+
$primary-blue-5: #9fdaec;
|
|
35
|
+
$primary-blue-6: #8ad1e8;
|
|
36
|
+
$primary-blue-7: #74c9e4;
|
|
37
|
+
$primary-blue-8: #5fc1e0;
|
|
38
|
+
$primary-blue-9: #49b8dc;
|
|
39
|
+
$primary-blue-10: #34b0d8;
|
|
40
|
+
$primary-blue-11: #259fc7; // Brand Primary
|
|
41
|
+
$primary-blue-12: #2392b5;
|
|
42
|
+
$primary-blue-13: #1f81a0; // Brand Dark
|
|
43
|
+
$primary-blue-14: #1b708b;
|
|
44
|
+
$primary-blue-15: #175f75;
|
|
45
|
+
$primary-blue-16: #134d60;
|
|
46
|
+
$primary-blue-17: #0f3c4b;
|
|
47
|
+
$primary-blue-18: #0a2b35;
|
|
48
|
+
$primary-blue-19: #061a20;
|
|
49
|
+
$primary-blue-20: #02090b;
|
|
50
|
+
|
|
51
|
+
$primary-background: #edfaff;
|
|
52
|
+
$brand-primary: #259fc7;
|
|
53
|
+
$brand-dark: #1f81a0;
|
|
54
|
+
$brand-dark-transparent-20: rgba(31, 129, 160, 0.2);
|
|
55
|
+
$brand-dark-transparent-40: rgba(31, 129, 160, 0.4);
|
|
56
|
+
|
|
57
|
+
$font-primary: #3a4952;
|
|
58
|
+
$font-secondary-heading: #46525b;
|
|
59
|
+
$font-secondary: #647d8e;
|
|
60
|
+
$font-disabled: #8096a5;
|
|
61
|
+
|
|
62
|
+
$error: #c31818;
|
|
63
|
+
$error-border: #aa1414;
|
|
64
|
+
$error-background: #f9e9e9;
|
|
65
|
+
$warning: #f8eab8;
|
|
66
|
+
$warning-border: #e7b500;
|
|
67
|
+
// Success / positive-confirmation state, mirroring the $error triplet.
|
|
68
|
+
// Hue matches $despatched-background (#2f921d) so it sits in the existing
|
|
69
|
+
// palette rather than introducing a new green.
|
|
70
|
+
$success: #2f921d;
|
|
71
|
+
$success-border: #277a18;
|
|
72
|
+
$success-background: #eaf5e7;
|
|
73
|
+
|
|
74
|
+
$allocated-background: #e7b100;
|
|
75
|
+
$in-picking-background: #ec58c3;
|
|
76
|
+
$in-picking-colour: #720653;
|
|
77
|
+
$picked-background: #bd2e95;
|
|
78
|
+
$in-sorting-background: #b259ea;
|
|
79
|
+
$in-sorting-colour: #560985;
|
|
80
|
+
$sorted-background: #9032ca;
|
|
81
|
+
$in-kitting-background: #9d85fc;
|
|
82
|
+
$in-kitting-colour: #4129a4;
|
|
83
|
+
$kitted-background: #6e51e0;
|
|
84
|
+
$in-packing-background: #8ab1df;
|
|
85
|
+
$in-packing-colour: #103977;
|
|
86
|
+
$packed-background: #3e6eb5;
|
|
87
|
+
$in-marshalling-background: #8ad0df;
|
|
88
|
+
$in-marshalling-colour: #13758a;
|
|
89
|
+
$marshalled-background: #3ea0b5;
|
|
90
|
+
$in-loading-background: #8adfc8;
|
|
91
|
+
$in-loading-colour: #126a51;
|
|
92
|
+
$loaded-background: #3eb592;
|
|
93
|
+
$in-despatch-background: #7bbc6f;
|
|
94
|
+
$in-despatch-colour: #104c05;
|
|
95
|
+
$despatched-background: #2f921d;
|
|
96
|
+
|
|
97
|
+
// Borders are $ui-blue-4
|
|
98
|
+
|
|
99
|
+
// $ui-two: #ececec;
|
|
100
|
+
// $ui-three: #c0c0c0;
|
|
101
|
+
// $ui-four: #515b65;
|
|
102
|
+
// $ui-four: #9B51E0;
|
|
103
|
+
// $ui-seven: #d5dbe0;
|
|
104
|
+
// $ui-eight: #fcfcfc;
|
|
105
|
+
// $ui-grey: #c0c8ce;
|
|
106
|
+
// $main: #54636d;
|
|
107
|
+
$alt: #8f989e;
|
|
108
|
+
// $background-light: #dce1e5;
|
|
109
|
+
// $background: #f6f7f8;
|
|
110
|
+
// $background-dark: #e8ebed;
|
|
111
|
+
// $dark-blue: #3888c1;
|
|
112
|
+
// $primary: #2f97ba;
|
|
113
|
+
// $info-text: #0e82ae;
|
|
114
|
+
// $info-light-text: #6ac1e8;
|
|
115
|
+
// $primary-dark: #0e7598;
|
|
116
|
+
// $primary-hover: hsl(205, 55%, 35%);
|
|
117
|
+
// $brand-one: #4db0da;
|
|
118
|
+
// $brand-two: #18769d;
|
|
119
|
+
// $shipments: #129acd;
|
|
120
|
+
// $progress: #259abf;
|
|
121
|
+
|
|
122
|
+
// $dark-blue-transparent: rgba(56, 136, 193, 0.2);
|
|
123
|
+
// $dark-blue-semi-transparent: rgba(56, 136, 193, 0.4);
|
|
124
|
+
// $secondary: #4f5a63;
|
|
125
|
+
// $info-background: #d6effa;
|
|
126
|
+
// $info-light-background: #f3f9fb;
|
|
127
|
+
// $hovered: rgba(166, 167, 168, 0.369);
|
|
128
|
+
// $white: #fff;
|
|
129
|
+
// $light-border: #ced2d6;
|
|
130
|
+
// $state-info: #e8f6fd;
|
|
131
|
+
// $state-info--alt: #f9fdff;
|
|
132
|
+
// $ui-dark-opacity: rgba(0, 0, 0, 0.2);
|
|
133
|
+
// $info-text-text: #525252;
|
|
134
|
+
// $info-text-background: #f6fcfe;
|
|
135
|
+
// $marked: #e8f6fd;
|
|
136
|
+
// $marked: #f9fdff;
|
|
137
|
+
// $side-menu-background: #eef1f3;
|
|
138
|
+
// $label: #6d7883;
|
|
139
|
+
// $warehouse-bubble: #c3cad3;
|
|
140
|
+
// $warning: rgba(231, 181, 0, 0.228);
|
package/dist/scss/_motion.scss
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
// Motion helpers for honouring `prefers-reduced-motion`.
|
|
2
|
-
//
|
|
3
|
-
// Two complementary mixins are exported so that component authors can pick
|
|
4
|
-
// whichever phrasing reads more naturally at the call site.
|
|
5
|
-
//
|
|
6
|
-
// `motion-safe` wraps a block in `@media (prefers-reduced-motion: no-preference)`.
|
|
7
|
-
// Anything inside is only applied when the user has NOT asked the OS to reduce
|
|
8
|
-
// motion. Use it to gate keyframe animations and decorative transitions:
|
|
9
|
-
//
|
|
10
|
-
// .spinner {
|
|
11
|
-
// transform-origin: center;
|
|
12
|
-
//
|
|
13
|
-
// @include motion.motion-safe {
|
|
14
|
-
// animation: spin 1.5s forwards infinite linear;
|
|
15
|
-
// }
|
|
16
|
-
// }
|
|
17
|
-
//
|
|
18
|
-
// `motion-reduce` emits a `@media (prefers-reduced-motion: reduce)` block whose
|
|
19
|
-
// body short-circuits `animation` and `transition` to a near-zero duration. The
|
|
20
|
-
// near-zero (not `none`) is deliberate: a single tick lets transitionend / Svelte
|
|
21
|
-
// transition lifecycle hooks still fire, which keeps component state machines
|
|
22
|
-
// (e.g. AccordionGroup, Toast) honest. Use it at the end of a style block when
|
|
23
|
-
// you want to disable existing motion without restructuring the selectors:
|
|
24
|
-
//
|
|
25
|
-
// .toast {
|
|
26
|
-
// @include motion.motion-reduce {
|
|
27
|
-
// animation-duration: 0.001ms !important;
|
|
28
|
-
// transition-duration: 0.001ms !important;
|
|
29
|
-
// }
|
|
30
|
-
// }
|
|
31
|
-
//
|
|
32
|
-
// Both mixins are zero-arg and emit only the wrapping media query plus the
|
|
33
|
-
// content block (or the safe defaults for `motion-reduce`).
|
|
34
|
-
|
|
35
|
-
@mixin motion-safe {
|
|
36
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
37
|
-
@content;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
@mixin motion-reduce {
|
|
42
|
-
@media (prefers-reduced-motion: reduce) {
|
|
43
|
-
@content;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
// Convenience: emit the reduce-motion safety net for a selector that already
|
|
48
|
-
// declares an `animation` or `transition`. Drop this at the end of a style
|
|
49
|
-
// block when there is no need to customise the override.
|
|
50
|
-
@mixin respect-reduced-motion {
|
|
51
|
-
@media (prefers-reduced-motion: reduce) {
|
|
52
|
-
animation-duration: 0.001ms !important;
|
|
53
|
-
animation-iteration-count: 1 !important;
|
|
54
|
-
transition-duration: 0.001ms !important;
|
|
55
|
-
scroll-behavior: auto !important;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
1
|
+
// Motion helpers for honouring `prefers-reduced-motion`.
|
|
2
|
+
//
|
|
3
|
+
// Two complementary mixins are exported so that component authors can pick
|
|
4
|
+
// whichever phrasing reads more naturally at the call site.
|
|
5
|
+
//
|
|
6
|
+
// `motion-safe` wraps a block in `@media (prefers-reduced-motion: no-preference)`.
|
|
7
|
+
// Anything inside is only applied when the user has NOT asked the OS to reduce
|
|
8
|
+
// motion. Use it to gate keyframe animations and decorative transitions:
|
|
9
|
+
//
|
|
10
|
+
// .spinner {
|
|
11
|
+
// transform-origin: center;
|
|
12
|
+
//
|
|
13
|
+
// @include motion.motion-safe {
|
|
14
|
+
// animation: spin 1.5s forwards infinite linear;
|
|
15
|
+
// }
|
|
16
|
+
// }
|
|
17
|
+
//
|
|
18
|
+
// `motion-reduce` emits a `@media (prefers-reduced-motion: reduce)` block whose
|
|
19
|
+
// body short-circuits `animation` and `transition` to a near-zero duration. The
|
|
20
|
+
// near-zero (not `none`) is deliberate: a single tick lets transitionend / Svelte
|
|
21
|
+
// transition lifecycle hooks still fire, which keeps component state machines
|
|
22
|
+
// (e.g. AccordionGroup, Toast) honest. Use it at the end of a style block when
|
|
23
|
+
// you want to disable existing motion without restructuring the selectors:
|
|
24
|
+
//
|
|
25
|
+
// .toast {
|
|
26
|
+
// @include motion.motion-reduce {
|
|
27
|
+
// animation-duration: 0.001ms !important;
|
|
28
|
+
// transition-duration: 0.001ms !important;
|
|
29
|
+
// }
|
|
30
|
+
// }
|
|
31
|
+
//
|
|
32
|
+
// Both mixins are zero-arg and emit only the wrapping media query plus the
|
|
33
|
+
// content block (or the safe defaults for `motion-reduce`).
|
|
34
|
+
|
|
35
|
+
@mixin motion-safe {
|
|
36
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
37
|
+
@content;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin motion-reduce {
|
|
42
|
+
@media (prefers-reduced-motion: reduce) {
|
|
43
|
+
@content;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Convenience: emit the reduce-motion safety net for a selector that already
|
|
48
|
+
// declares an `animation` or `transition`. Drop this at the end of a style
|
|
49
|
+
// block when there is no need to customise the override.
|
|
50
|
+
@mixin respect-reduced-motion {
|
|
51
|
+
@media (prefers-reduced-motion: reduce) {
|
|
52
|
+
animation-duration: 0.001ms !important;
|
|
53
|
+
animation-iteration-count: 1 !important;
|
|
54
|
+
transition-duration: 0.001ms !important;
|
|
55
|
+
scroll-behavior: auto !important;
|
|
56
|
+
}
|
|
57
|
+
}
|
package/dist/scss/_sizing.scss
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
$input-height: 3rem;
|
|
2
|
-
$input-width: 12rem;
|
|
3
|
-
|
|
4
|
-
$text-xx-large: 2rem;
|
|
5
|
-
$text-x-large: 1.75rem;
|
|
6
|
-
$text-large: 1.5rem;
|
|
7
|
-
$text-medium-large: 1.25rem;
|
|
8
|
-
$text-medium: 1.1875rem; //19 px. not ideal
|
|
9
|
-
$text-small-medium: 1.125rem;
|
|
10
|
-
$text-medium-small-medium: 1.0625rem;
|
|
11
|
-
$text-regular: 1rem;
|
|
12
|
-
$text-small-small-medium: 0.875rem;
|
|
13
|
-
$text-small: 0.8125rem;
|
|
14
|
-
$text-extra-small: 0.75rem;
|
|
15
|
-
|
|
16
|
-
$font-weight-touch: 600;
|
|
17
|
-
|
|
18
|
-
$text-table: 0.9375rem;
|
|
19
|
-
$text-table-footer: 0.8125rem;
|
|
20
|
-
|
|
21
|
-
$border-width-double: 2px;
|
|
22
|
-
$border-width: 1px;
|
|
23
|
-
|
|
24
|
-
$button-padding-xl: 2rem;
|
|
25
|
-
$button-padding-lg-wide: 1rem 2rem;
|
|
26
|
-
$button-padding-lg: 1rem;
|
|
27
|
-
|
|
28
|
-
$column-1-width: 25rem;
|
|
29
|
-
$column-2-width: 1fr;
|
|
30
|
-
$column-3-width: 25rem;
|
|
31
|
-
|
|
32
|
-
$row-1-width: 4rem;
|
|
33
|
-
$row-2-width: 1fr;
|
|
34
|
-
|
|
35
|
-
$double-padding: 3rem;
|
|
36
|
-
$double-gap: 3rem;
|
|
37
|
-
$five-quarters-padding: 1.875rem;
|
|
38
|
-
$five-quarters-gap: 1.875rem;
|
|
39
|
-
$regular-padding: 1.5rem;
|
|
40
|
-
$regular-gap: 1.5rem;
|
|
41
|
-
$two-thirds-gap: 1.25rem;
|
|
42
|
-
$two-thirds-padding: 1.25rem;
|
|
43
|
-
$half-gap: 0.75rem;
|
|
44
|
-
$half-padding: 0.75rem;
|
|
45
|
-
$third-gap: 0.5rem;
|
|
46
|
-
$third-padding: 0.5rem;
|
|
47
|
-
$quarter-gap: 0.375rem;
|
|
48
|
-
$quarter-padding: 0.375rem;
|
|
49
|
-
|
|
50
|
-
$circular-button-padding: 0.52rem;
|
|
51
|
-
$card-half-padding: 0.38rem;
|
|
52
|
-
// $card-padding: 0.76rem;
|
|
53
|
-
$card-padding: 0.76rem;
|
|
54
|
-
$card-gap: 0.76rem;
|
|
55
|
-
$card-gap-half: 0.38rem;
|
|
56
|
-
$card-detail-padding: 4px 12px;
|
|
57
|
-
$card-title: $text-large;
|
|
58
|
-
$card-inner-gap: 0.25rem;
|
|
59
|
-
$button-card-inner-gap: 0.5rem;
|
|
60
|
-
|
|
61
|
-
$border-radius: 4px;
|
|
62
|
-
$thick-border-radius: 5px;
|
|
63
|
-
$pill-border-radius: 12px;
|
|
64
|
-
|
|
65
|
-
$switch-track-width: 4rem;
|
|
66
|
-
$switch-thumb-container-width: 2.5rem;
|
|
67
|
-
$switch-thumb-container-height: 1.5rem;
|
|
68
|
-
$switch-thumb-container-radius: 0.9375rem;
|
|
69
|
-
$switch-thumb-size: 1rem;
|
|
70
|
-
|
|
71
|
-
$min-modal-width: 40.25rem;
|
|
72
|
-
$max-modal-width: 1728px;
|
|
73
|
-
|
|
74
|
-
$table-header-height: 3rem;
|
|
75
|
-
|
|
76
|
-
$nav-height: 3.25rem;
|
|
77
|
-
|
|
78
|
-
$dial-option-height: 50px;
|
|
79
|
-
|
|
80
|
-
$big-radio-min-width: 271px;
|
|
81
|
-
$big-radio-max-width: 400px;
|
|
82
|
-
|
|
83
|
-
// z-index scale. Higher values render above lower ones.
|
|
84
|
-
$z-index-overlay: 99998;
|
|
85
|
-
$z-index-overlay-text: 99999;
|
|
1
|
+
$input-height: 3rem;
|
|
2
|
+
$input-width: 12rem;
|
|
3
|
+
|
|
4
|
+
$text-xx-large: 2rem;
|
|
5
|
+
$text-x-large: 1.75rem;
|
|
6
|
+
$text-large: 1.5rem;
|
|
7
|
+
$text-medium-large: 1.25rem;
|
|
8
|
+
$text-medium: 1.1875rem; //19 px. not ideal
|
|
9
|
+
$text-small-medium: 1.125rem;
|
|
10
|
+
$text-medium-small-medium: 1.0625rem;
|
|
11
|
+
$text-regular: 1rem;
|
|
12
|
+
$text-small-small-medium: 0.875rem;
|
|
13
|
+
$text-small: 0.8125rem;
|
|
14
|
+
$text-extra-small: 0.75rem;
|
|
15
|
+
|
|
16
|
+
$font-weight-touch: 600;
|
|
17
|
+
|
|
18
|
+
$text-table: 0.9375rem;
|
|
19
|
+
$text-table-footer: 0.8125rem;
|
|
20
|
+
|
|
21
|
+
$border-width-double: 2px;
|
|
22
|
+
$border-width: 1px;
|
|
23
|
+
|
|
24
|
+
$button-padding-xl: 2rem;
|
|
25
|
+
$button-padding-lg-wide: 1rem 2rem;
|
|
26
|
+
$button-padding-lg: 1rem;
|
|
27
|
+
|
|
28
|
+
$column-1-width: 25rem;
|
|
29
|
+
$column-2-width: 1fr;
|
|
30
|
+
$column-3-width: 25rem;
|
|
31
|
+
|
|
32
|
+
$row-1-width: 4rem;
|
|
33
|
+
$row-2-width: 1fr;
|
|
34
|
+
|
|
35
|
+
$double-padding: 3rem;
|
|
36
|
+
$double-gap: 3rem;
|
|
37
|
+
$five-quarters-padding: 1.875rem;
|
|
38
|
+
$five-quarters-gap: 1.875rem;
|
|
39
|
+
$regular-padding: 1.5rem;
|
|
40
|
+
$regular-gap: 1.5rem;
|
|
41
|
+
$two-thirds-gap: 1.25rem;
|
|
42
|
+
$two-thirds-padding: 1.25rem;
|
|
43
|
+
$half-gap: 0.75rem;
|
|
44
|
+
$half-padding: 0.75rem;
|
|
45
|
+
$third-gap: 0.5rem;
|
|
46
|
+
$third-padding: 0.5rem;
|
|
47
|
+
$quarter-gap: 0.375rem;
|
|
48
|
+
$quarter-padding: 0.375rem;
|
|
49
|
+
|
|
50
|
+
$circular-button-padding: 0.52rem;
|
|
51
|
+
$card-half-padding: 0.38rem;
|
|
52
|
+
// $card-padding: 0.76rem;
|
|
53
|
+
$card-padding: 0.76rem;
|
|
54
|
+
$card-gap: 0.76rem;
|
|
55
|
+
$card-gap-half: 0.38rem;
|
|
56
|
+
$card-detail-padding: 4px 12px;
|
|
57
|
+
$card-title: $text-large;
|
|
58
|
+
$card-inner-gap: 0.25rem;
|
|
59
|
+
$button-card-inner-gap: 0.5rem;
|
|
60
|
+
|
|
61
|
+
$border-radius: 4px;
|
|
62
|
+
$thick-border-radius: 5px;
|
|
63
|
+
$pill-border-radius: 12px;
|
|
64
|
+
|
|
65
|
+
$switch-track-width: 4rem;
|
|
66
|
+
$switch-thumb-container-width: 2.5rem;
|
|
67
|
+
$switch-thumb-container-height: 1.5rem;
|
|
68
|
+
$switch-thumb-container-radius: 0.9375rem;
|
|
69
|
+
$switch-thumb-size: 1rem;
|
|
70
|
+
|
|
71
|
+
$min-modal-width: 40.25rem;
|
|
72
|
+
$max-modal-width: 1728px;
|
|
73
|
+
|
|
74
|
+
$table-header-height: 3rem;
|
|
75
|
+
|
|
76
|
+
$nav-height: 3.25rem;
|
|
77
|
+
|
|
78
|
+
$dial-option-height: 50px;
|
|
79
|
+
|
|
80
|
+
$big-radio-min-width: 271px;
|
|
81
|
+
$big-radio-max-width: 400px;
|
|
82
|
+
|
|
83
|
+
// z-index scale. Higher values render above lower ones.
|
|
84
|
+
$z-index-overlay: 99998;
|
|
85
|
+
$z-index-overlay-text: 99999;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
$transition-length: 0.15s;
|
|
2
|
-
$transition-delay: 0s;
|
|
3
|
-
|
|
4
|
-
$colours:
|
|
5
|
-
border-color ease-out $transition-length $transition-delay,
|
|
6
|
-
background-color ease-out $transition-length $transition-delay,
|
|
7
|
-
color ease-out $transition-length $transition-delay,
|
|
8
|
-
fill ease-out $transition-length $transition-delay;
|
|
1
|
+
$transition-length: 0.15s;
|
|
2
|
+
$transition-delay: 0s;
|
|
3
|
+
|
|
4
|
+
$colours:
|
|
5
|
+
border-color ease-out $transition-length $transition-delay,
|
|
6
|
+
background-color ease-out $transition-length $transition-delay,
|
|
7
|
+
color ease-out $transition-length $transition-delay,
|
|
8
|
+
fill ease-out $transition-length $transition-delay;
|