@justin_evo/evo-ui 1.1.0 → 1.2.1

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 (80) hide show
  1. package/README.md +3 -3
  2. package/dist/TopNav/TopNav.d.ts +19 -0
  3. package/dist/declarations.d.ts +6 -6
  4. package/dist/evo-ui.css +1 -1
  5. package/dist/index.cjs.js +1 -1
  6. package/dist/index.es.js +3301 -3197
  7. package/package.json +52 -52
  8. package/src/Alert/Alert.tsx +49 -49
  9. package/src/AutoComplete/AutoComplete.tsx +810 -810
  10. package/src/Badge/Badge.tsx +53 -53
  11. package/src/Breadcrumb/Breadcrumb.tsx +53 -53
  12. package/src/Button/Button.tsx +125 -125
  13. package/src/Card/Card.tsx +257 -257
  14. package/src/Checkbox/Checkbox.tsx +59 -59
  15. package/src/CommandPalette/CommandPalette.tsx +185 -185
  16. package/src/Container/Container.tsx +31 -31
  17. package/src/Divider/Divider.tsx +31 -31
  18. package/src/Form/Form.tsx +185 -185
  19. package/src/Grid/Grid.tsx +66 -66
  20. package/src/ImageCropper/ImageCropper.tsx +911 -911
  21. package/src/Input/Input.tsx +74 -74
  22. package/src/Modal/Modal.tsx +77 -77
  23. package/src/Nav/Nav.tsx +708 -708
  24. package/src/Notification/Notification.tsx +1503 -1503
  25. package/src/Pagination/Pagination.tsx +76 -76
  26. package/src/Radio/Radio.tsx +69 -69
  27. package/src/RichTextArea/RichTextArea.tsx +886 -869
  28. package/src/Select/Select.tsx +515 -515
  29. package/src/Skeleton/Skeleton.tsx +70 -70
  30. package/src/Stack/Stack.tsx +52 -52
  31. package/src/Table/Table.tsx +335 -335
  32. package/src/Tabs/Tabs.tsx +90 -90
  33. package/src/Theme/ThemeProvider.tsx +253 -253
  34. package/src/Theme/ThemeToggle.tsx +79 -79
  35. package/src/Toggle/Toggle.tsx +48 -48
  36. package/src/Tooltip/Tooltip.tsx +38 -38
  37. package/src/TopNav/TopNav.tsx +1163 -994
  38. package/src/TreeSelect/TreeSelect.tsx +825 -825
  39. package/src/css/alert.module.scss +93 -93
  40. package/src/css/autocomplete.module.scss +416 -416
  41. package/src/css/badge.module.scss +82 -82
  42. package/src/css/base/_color.scss +159 -159
  43. package/src/css/base/_theme.scss +237 -237
  44. package/src/css/base/_variables.scss +161 -161
  45. package/src/css/breadcrumb.module.scss +50 -50
  46. package/src/css/button.module.scss +385 -385
  47. package/src/css/card.module.scss +217 -217
  48. package/src/css/checkbox.module.scss +123 -120
  49. package/src/css/commandpalette.module.scss +211 -211
  50. package/src/css/container.module.scss +18 -18
  51. package/src/css/divider.module.scss +41 -41
  52. package/src/css/form.module.scss +245 -245
  53. package/src/css/imagecropper.module.scss +397 -397
  54. package/src/css/input.module.scss +89 -89
  55. package/src/css/modal.module.scss +105 -105
  56. package/src/css/nav.module.scss +494 -494
  57. package/src/css/notification.module.scss +691 -691
  58. package/src/css/pagination.module.scss +63 -63
  59. package/src/css/radio.module.scss +89 -89
  60. package/src/css/richtextarea.module.scss +307 -307
  61. package/src/css/select.module.scss +525 -525
  62. package/src/css/skeleton.module.scss +30 -30
  63. package/src/css/table.module.scss +386 -386
  64. package/src/css/tabs.module.scss +63 -63
  65. package/src/css/theme-toggle.module.scss +83 -83
  66. package/src/css/toggle.module.scss +54 -54
  67. package/src/css/tooltip.module.scss +97 -97
  68. package/src/css/topnav.module.scss +568 -396
  69. package/src/css/treeselect.module.scss +558 -558
  70. package/src/css/utilities/_borders.scss +111 -111
  71. package/src/css/utilities/_colors.scss +66 -66
  72. package/src/css/utilities/_effects.scss +216 -216
  73. package/src/css/utilities/_layout.scss +181 -181
  74. package/src/css/utilities/_position.scss +75 -75
  75. package/src/css/utilities/_sizing.scss +138 -138
  76. package/src/css/utilities/_spacing.scss +99 -99
  77. package/src/css/utilities/_typography.scss +121 -121
  78. package/src/css/utilities/index.scss +24 -24
  79. package/src/declarations.d.ts +6 -6
  80. package/src/index.ts +60 -60
@@ -1,181 +1,181 @@
1
- // ==========================================
2
- // LAYOUT UTILITIES
3
- // display | flex | grid | overflow
4
- // ==========================================
5
-
6
- // Display
7
- .block { display: block; }
8
- .inline-block { display: inline-block; }
9
- .inline { display: inline; }
10
- .flex { display: flex; }
11
- .inline-flex { display: inline-flex; }
12
- .grid { display: grid; }
13
- .inline-grid { display: inline-grid; }
14
- .contents { display: contents; }
15
- .table { display: table; }
16
- .hidden { display: none; }
17
-
18
- // Flex direction
19
- .flex-row { flex-direction: row; }
20
- .flex-row-reverse { flex-direction: row-reverse; }
21
- .flex-col { flex-direction: column; }
22
- .flex-col-reverse { flex-direction: column-reverse; }
23
-
24
- // Flex wrap
25
- .flex-wrap { flex-wrap: wrap; }
26
- .flex-wrap-reverse { flex-wrap: wrap-reverse; }
27
- .flex-nowrap { flex-wrap: nowrap; }
28
-
29
- // Flex grow / shrink
30
- .flex-1 { flex: 1 1 0%; }
31
- .flex-auto { flex: 1 1 auto; }
32
- .flex-initial { flex: 0 1 auto; }
33
- .flex-none { flex: none; }
34
- .grow { flex-grow: 1; }
35
- .grow-0 { flex-grow: 0; }
36
- .shrink { flex-shrink: 1; }
37
- .shrink-0 { flex-shrink: 0; }
38
-
39
- // Justify content
40
- .justify-start { justify-content: flex-start; }
41
- .justify-end { justify-content: flex-end; }
42
- .justify-center { justify-content: center; }
43
- .justify-between { justify-content: space-between; }
44
- .justify-around { justify-content: space-around; }
45
- .justify-evenly { justify-content: space-evenly; }
46
- .justify-stretch { justify-content: stretch; }
47
-
48
- // Justify items
49
- .justify-items-start { justify-items: start; }
50
- .justify-items-end { justify-items: end; }
51
- .justify-items-center { justify-items: center; }
52
- .justify-items-stretch { justify-items: stretch; }
53
-
54
- // Justify self
55
- .justify-self-auto { justify-self: auto; }
56
- .justify-self-start { justify-self: start; }
57
- .justify-self-end { justify-self: end; }
58
- .justify-self-center { justify-self: center; }
59
- .justify-self-stretch { justify-self: stretch; }
60
-
61
- // Align items
62
- .items-start { align-items: flex-start; }
63
- .items-end { align-items: flex-end; }
64
- .items-center { align-items: center; }
65
- .items-stretch { align-items: stretch; }
66
- .items-baseline { align-items: baseline; }
67
-
68
- // Align content
69
- .content-start { align-content: flex-start; }
70
- .content-end { align-content: flex-end; }
71
- .content-center { align-content: center; }
72
- .content-between { align-content: space-between; }
73
- .content-around { align-content: space-around; }
74
- .content-evenly { align-content: space-evenly; }
75
- .content-stretch { align-content: stretch; }
76
-
77
- // Align self
78
- .self-auto { align-self: auto; }
79
- .self-start { align-self: flex-start; }
80
- .self-end { align-self: flex-end; }
81
- .self-center { align-self: center; }
82
- .self-stretch { align-self: stretch; }
83
- .self-baseline { align-self: baseline; }
84
-
85
- // Grid template columns
86
- @for $i from 1 through 12 {
87
- .grid-cols-#{$i} { grid-template-columns: repeat(#{$i}, minmax(0, 1fr)); }
88
- }
89
- .grid-cols-none { grid-template-columns: none; }
90
-
91
- // Grid template rows
92
- @for $i from 1 through 6 {
93
- .grid-rows-#{$i} { grid-template-rows: repeat(#{$i}, minmax(0, 1fr)); }
94
- }
95
- .grid-rows-none { grid-template-rows: none; }
96
-
97
- // Column span
98
- @for $i from 1 through 12 {
99
- .col-span-#{$i} { grid-column: span #{$i} / span #{$i}; }
100
- }
101
- .col-span-full { grid-column: 1 / -1; }
102
- .col-auto { grid-column: auto; }
103
-
104
- // Row span
105
- @for $i from 1 through 6 {
106
- .row-span-#{$i} { grid-row: span #{$i} / span #{$i}; }
107
- }
108
- .row-span-full { grid-row: 1 / -1; }
109
- .row-auto { grid-row: auto; }
110
-
111
- // Place items / content / self
112
- .place-items-start { place-items: start; }
113
- .place-items-end { place-items: end; }
114
- .place-items-center { place-items: center; }
115
- .place-items-stretch { place-items: stretch; }
116
- .place-content-start { place-content: start; }
117
- .place-content-end { place-content: end; }
118
- .place-content-center { place-content: center; }
119
- .place-content-between { place-content: space-between; }
120
- .place-self-auto { place-self: auto; }
121
- .place-self-start { place-self: start; }
122
- .place-self-end { place-self: end; }
123
- .place-self-center { place-self: center; }
124
- .place-self-stretch { place-self: stretch; }
125
-
126
- // Overflow
127
- .overflow-auto { overflow: auto; }
128
- .overflow-hidden { overflow: hidden; }
129
- .overflow-visible { overflow: visible; }
130
- .overflow-scroll { overflow: scroll; }
131
- .overflow-clip { overflow: clip; }
132
- .overflow-x-auto { overflow-x: auto; }
133
- .overflow-x-hidden { overflow-x: hidden; }
134
- .overflow-x-visible { overflow-x: visible; }
135
- .overflow-x-scroll { overflow-x: scroll; }
136
- .overflow-y-auto { overflow-y: auto; }
137
- .overflow-y-hidden { overflow-y: hidden; }
138
- .overflow-y-visible { overflow-y: visible; }
139
- .overflow-y-scroll { overflow-y: scroll; }
140
-
141
- // Float
142
- .float-start { float: inline-start; }
143
- .float-end { float: inline-end; }
144
- .float-right { float: right; }
145
- .float-left { float: left; }
146
- .float-none { float: none; }
147
- .clearfix::after { content: ''; display: table; clear: both; }
148
-
149
- // Box sizing
150
- .box-border { box-sizing: border-box; }
151
- .box-content { box-sizing: content-box; }
152
-
153
- // Visibility
154
- .visible { visibility: visible; }
155
- .invisible { visibility: hidden; }
156
- .collapse { visibility: collapse; }
157
-
158
- // Aspect ratio
159
- .aspect-auto { aspect-ratio: auto; }
160
- .aspect-square { aspect-ratio: 1 / 1; }
161
- .aspect-video { aspect-ratio: 16 / 9; }
162
-
163
- // Object fit
164
- .object-contain { object-fit: contain; }
165
- .object-cover { object-fit: cover; }
166
- .object-fill { object-fit: fill; }
167
- .object-none { object-fit: none; }
168
- .object-scale-down { object-fit: scale-down; }
169
-
170
- // Object position
171
- .object-center { object-position: center; }
172
- .object-top { object-position: top; }
173
- .object-bottom { object-position: bottom; }
174
- .object-left { object-position: left; }
175
- .object-right { object-position: right; }
176
- .object-left-top { object-position: left top; }
177
- .object-right-bottom { object-position: right bottom; }
178
-
179
- // Isolation
180
- .isolate { isolation: isolate; }
181
- .isolation-auto { isolation: auto; }
1
+ // ==========================================
2
+ // LAYOUT UTILITIES
3
+ // display | flex | grid | overflow
4
+ // ==========================================
5
+
6
+ // Display
7
+ .block { display: block; }
8
+ .inline-block { display: inline-block; }
9
+ .inline { display: inline; }
10
+ .flex { display: flex; }
11
+ .inline-flex { display: inline-flex; }
12
+ .grid { display: grid; }
13
+ .inline-grid { display: inline-grid; }
14
+ .contents { display: contents; }
15
+ .table { display: table; }
16
+ .hidden { display: none; }
17
+
18
+ // Flex direction
19
+ .flex-row { flex-direction: row; }
20
+ .flex-row-reverse { flex-direction: row-reverse; }
21
+ .flex-col { flex-direction: column; }
22
+ .flex-col-reverse { flex-direction: column-reverse; }
23
+
24
+ // Flex wrap
25
+ .flex-wrap { flex-wrap: wrap; }
26
+ .flex-wrap-reverse { flex-wrap: wrap-reverse; }
27
+ .flex-nowrap { flex-wrap: nowrap; }
28
+
29
+ // Flex grow / shrink
30
+ .flex-1 { flex: 1 1 0%; }
31
+ .flex-auto { flex: 1 1 auto; }
32
+ .flex-initial { flex: 0 1 auto; }
33
+ .flex-none { flex: none; }
34
+ .grow { flex-grow: 1; }
35
+ .grow-0 { flex-grow: 0; }
36
+ .shrink { flex-shrink: 1; }
37
+ .shrink-0 { flex-shrink: 0; }
38
+
39
+ // Justify content
40
+ .justify-start { justify-content: flex-start; }
41
+ .justify-end { justify-content: flex-end; }
42
+ .justify-center { justify-content: center; }
43
+ .justify-between { justify-content: space-between; }
44
+ .justify-around { justify-content: space-around; }
45
+ .justify-evenly { justify-content: space-evenly; }
46
+ .justify-stretch { justify-content: stretch; }
47
+
48
+ // Justify items
49
+ .justify-items-start { justify-items: start; }
50
+ .justify-items-end { justify-items: end; }
51
+ .justify-items-center { justify-items: center; }
52
+ .justify-items-stretch { justify-items: stretch; }
53
+
54
+ // Justify self
55
+ .justify-self-auto { justify-self: auto; }
56
+ .justify-self-start { justify-self: start; }
57
+ .justify-self-end { justify-self: end; }
58
+ .justify-self-center { justify-self: center; }
59
+ .justify-self-stretch { justify-self: stretch; }
60
+
61
+ // Align items
62
+ .items-start { align-items: flex-start; }
63
+ .items-end { align-items: flex-end; }
64
+ .items-center { align-items: center; }
65
+ .items-stretch { align-items: stretch; }
66
+ .items-baseline { align-items: baseline; }
67
+
68
+ // Align content
69
+ .content-start { align-content: flex-start; }
70
+ .content-end { align-content: flex-end; }
71
+ .content-center { align-content: center; }
72
+ .content-between { align-content: space-between; }
73
+ .content-around { align-content: space-around; }
74
+ .content-evenly { align-content: space-evenly; }
75
+ .content-stretch { align-content: stretch; }
76
+
77
+ // Align self
78
+ .self-auto { align-self: auto; }
79
+ .self-start { align-self: flex-start; }
80
+ .self-end { align-self: flex-end; }
81
+ .self-center { align-self: center; }
82
+ .self-stretch { align-self: stretch; }
83
+ .self-baseline { align-self: baseline; }
84
+
85
+ // Grid template columns
86
+ @for $i from 1 through 12 {
87
+ .grid-cols-#{$i} { grid-template-columns: repeat(#{$i}, minmax(0, 1fr)); }
88
+ }
89
+ .grid-cols-none { grid-template-columns: none; }
90
+
91
+ // Grid template rows
92
+ @for $i from 1 through 6 {
93
+ .grid-rows-#{$i} { grid-template-rows: repeat(#{$i}, minmax(0, 1fr)); }
94
+ }
95
+ .grid-rows-none { grid-template-rows: none; }
96
+
97
+ // Column span
98
+ @for $i from 1 through 12 {
99
+ .col-span-#{$i} { grid-column: span #{$i} / span #{$i}; }
100
+ }
101
+ .col-span-full { grid-column: 1 / -1; }
102
+ .col-auto { grid-column: auto; }
103
+
104
+ // Row span
105
+ @for $i from 1 through 6 {
106
+ .row-span-#{$i} { grid-row: span #{$i} / span #{$i}; }
107
+ }
108
+ .row-span-full { grid-row: 1 / -1; }
109
+ .row-auto { grid-row: auto; }
110
+
111
+ // Place items / content / self
112
+ .place-items-start { place-items: start; }
113
+ .place-items-end { place-items: end; }
114
+ .place-items-center { place-items: center; }
115
+ .place-items-stretch { place-items: stretch; }
116
+ .place-content-start { place-content: start; }
117
+ .place-content-end { place-content: end; }
118
+ .place-content-center { place-content: center; }
119
+ .place-content-between { place-content: space-between; }
120
+ .place-self-auto { place-self: auto; }
121
+ .place-self-start { place-self: start; }
122
+ .place-self-end { place-self: end; }
123
+ .place-self-center { place-self: center; }
124
+ .place-self-stretch { place-self: stretch; }
125
+
126
+ // Overflow
127
+ .overflow-auto { overflow: auto; }
128
+ .overflow-hidden { overflow: hidden; }
129
+ .overflow-visible { overflow: visible; }
130
+ .overflow-scroll { overflow: scroll; }
131
+ .overflow-clip { overflow: clip; }
132
+ .overflow-x-auto { overflow-x: auto; }
133
+ .overflow-x-hidden { overflow-x: hidden; }
134
+ .overflow-x-visible { overflow-x: visible; }
135
+ .overflow-x-scroll { overflow-x: scroll; }
136
+ .overflow-y-auto { overflow-y: auto; }
137
+ .overflow-y-hidden { overflow-y: hidden; }
138
+ .overflow-y-visible { overflow-y: visible; }
139
+ .overflow-y-scroll { overflow-y: scroll; }
140
+
141
+ // Float
142
+ .float-start { float: inline-start; }
143
+ .float-end { float: inline-end; }
144
+ .float-right { float: right; }
145
+ .float-left { float: left; }
146
+ .float-none { float: none; }
147
+ .clearfix::after { content: ''; display: table; clear: both; }
148
+
149
+ // Box sizing
150
+ .box-border { box-sizing: border-box; }
151
+ .box-content { box-sizing: content-box; }
152
+
153
+ // Visibility
154
+ .visible { visibility: visible; }
155
+ .invisible { visibility: hidden; }
156
+ .collapse { visibility: collapse; }
157
+
158
+ // Aspect ratio
159
+ .aspect-auto { aspect-ratio: auto; }
160
+ .aspect-square { aspect-ratio: 1 / 1; }
161
+ .aspect-video { aspect-ratio: 16 / 9; }
162
+
163
+ // Object fit
164
+ .object-contain { object-fit: contain; }
165
+ .object-cover { object-fit: cover; }
166
+ .object-fill { object-fit: fill; }
167
+ .object-none { object-fit: none; }
168
+ .object-scale-down { object-fit: scale-down; }
169
+
170
+ // Object position
171
+ .object-center { object-position: center; }
172
+ .object-top { object-position: top; }
173
+ .object-bottom { object-position: bottom; }
174
+ .object-left { object-position: left; }
175
+ .object-right { object-position: right; }
176
+ .object-left-top { object-position: left top; }
177
+ .object-right-bottom { object-position: right bottom; }
178
+
179
+ // Isolation
180
+ .isolate { isolation: isolate; }
181
+ .isolation-auto { isolation: auto; }
@@ -1,75 +1,75 @@
1
- // ==========================================
2
- // POSITION UTILITIES
3
- // position | inset | z-index
4
- // ==========================================
5
-
6
- // Position
7
- .static { position: static; }
8
- .relative { position: relative; }
9
- .absolute { position: absolute; }
10
- .fixed { position: fixed; }
11
- .sticky { position: sticky; }
12
-
13
- // Inset (top / right / bottom / left shorthand)
14
- .inset-0 { inset: 0; }
15
- .inset-auto { inset: auto; }
16
- .inset-full { inset: 100%; }
17
- .inset-px { inset: 1px; }
18
-
19
- .inset-x-0 { left: 0; right: 0; }
20
- .inset-x-auto { left: auto; right: auto; }
21
- .inset-x-full { left: 100%; right: 100%; }
22
- .inset-y-0 { top: 0; bottom: 0; }
23
- .inset-y-auto { top: auto; bottom: auto; }
24
- .inset-y-full { top: 100%; bottom: 100%; }
25
-
26
- // Individual sides
27
- $_inset-scale: (0: 0, 1: 0.25rem, 2: 0.5rem, 3: 0.75rem, 4: 1rem, 5: 1.25rem, 6: 1.5rem, 8: 2rem, 10: 2.5rem, 12: 3rem, 14: 3.5rem, 16: 4rem, 20: 5rem, 24: 6rem, 32: 8rem, 40: 10rem, 48: 12rem, 56: 14rem, 64: 16rem);
28
-
29
- @each $key, $val in $_inset-scale {
30
- .top-#{$key} { top: $val; }
31
- .right-#{$key} { right: $val; }
32
- .bottom-#{$key} { bottom: $val; }
33
- .left-#{$key} { left: $val; }
34
- }
35
-
36
- .top-auto { top: auto; }
37
- .right-auto { right: auto; }
38
- .bottom-auto { bottom: auto; }
39
- .left-auto { left: auto; }
40
- .top-full { top: 100%; }
41
- .right-full { right: 100%; }
42
- .bottom-full { bottom: 100%; }
43
- .left-full { left: 100%; }
44
- .top-px { top: 1px; }
45
- .right-px { right: 1px; }
46
- .bottom-px { bottom: 1px; }
47
- .left-px { left: 1px; }
48
-
49
- // Negative inset
50
- @each $key, $val in $_inset-scale {
51
- @if $key != 0 {
52
- .-top-#{$key} { top: -$val; }
53
- .-right-#{$key} { right: -$val; }
54
- .-bottom-#{$key} { bottom: -$val; }
55
- .-left-#{$key} { left: -$val; }
56
- }
57
- }
58
-
59
- // Z-index
60
- .z-0 { z-index: 0; }
61
- .z-10 { z-index: 10; }
62
- .z-20 { z-index: 20; }
63
- .z-30 { z-index: 30; }
64
- .z-40 { z-index: 40; }
65
- .z-50 { z-index: 50; }
66
- .z-auto { z-index: auto; }
67
-
68
- // Named z-index layers
69
- .z-base { z-index: 0; }
70
- .z-raised { z-index: 10; }
71
- .z-overlay { z-index: 100; }
72
- .z-modal { z-index: 200; }
73
- .z-toast { z-index: 300; }
74
- .z-tooltip { z-index: 400; }
75
- .z-top { z-index: 9999; }
1
+ // ==========================================
2
+ // POSITION UTILITIES
3
+ // position | inset | z-index
4
+ // ==========================================
5
+
6
+ // Position
7
+ .static { position: static; }
8
+ .relative { position: relative; }
9
+ .absolute { position: absolute; }
10
+ .fixed { position: fixed; }
11
+ .sticky { position: sticky; }
12
+
13
+ // Inset (top / right / bottom / left shorthand)
14
+ .inset-0 { inset: 0; }
15
+ .inset-auto { inset: auto; }
16
+ .inset-full { inset: 100%; }
17
+ .inset-px { inset: 1px; }
18
+
19
+ .inset-x-0 { left: 0; right: 0; }
20
+ .inset-x-auto { left: auto; right: auto; }
21
+ .inset-x-full { left: 100%; right: 100%; }
22
+ .inset-y-0 { top: 0; bottom: 0; }
23
+ .inset-y-auto { top: auto; bottom: auto; }
24
+ .inset-y-full { top: 100%; bottom: 100%; }
25
+
26
+ // Individual sides
27
+ $_inset-scale: (0: 0, 1: 0.25rem, 2: 0.5rem, 3: 0.75rem, 4: 1rem, 5: 1.25rem, 6: 1.5rem, 8: 2rem, 10: 2.5rem, 12: 3rem, 14: 3.5rem, 16: 4rem, 20: 5rem, 24: 6rem, 32: 8rem, 40: 10rem, 48: 12rem, 56: 14rem, 64: 16rem);
28
+
29
+ @each $key, $val in $_inset-scale {
30
+ .top-#{$key} { top: $val; }
31
+ .right-#{$key} { right: $val; }
32
+ .bottom-#{$key} { bottom: $val; }
33
+ .left-#{$key} { left: $val; }
34
+ }
35
+
36
+ .top-auto { top: auto; }
37
+ .right-auto { right: auto; }
38
+ .bottom-auto { bottom: auto; }
39
+ .left-auto { left: auto; }
40
+ .top-full { top: 100%; }
41
+ .right-full { right: 100%; }
42
+ .bottom-full { bottom: 100%; }
43
+ .left-full { left: 100%; }
44
+ .top-px { top: 1px; }
45
+ .right-px { right: 1px; }
46
+ .bottom-px { bottom: 1px; }
47
+ .left-px { left: 1px; }
48
+
49
+ // Negative inset
50
+ @each $key, $val in $_inset-scale {
51
+ @if $key != 0 {
52
+ .-top-#{$key} { top: -$val; }
53
+ .-right-#{$key} { right: -$val; }
54
+ .-bottom-#{$key} { bottom: -$val; }
55
+ .-left-#{$key} { left: -$val; }
56
+ }
57
+ }
58
+
59
+ // Z-index
60
+ .z-0 { z-index: 0; }
61
+ .z-10 { z-index: 10; }
62
+ .z-20 { z-index: 20; }
63
+ .z-30 { z-index: 30; }
64
+ .z-40 { z-index: 40; }
65
+ .z-50 { z-index: 50; }
66
+ .z-auto { z-index: auto; }
67
+
68
+ // Named z-index layers
69
+ .z-base { z-index: 0; }
70
+ .z-raised { z-index: 10; }
71
+ .z-overlay { z-index: 100; }
72
+ .z-modal { z-index: 200; }
73
+ .z-toast { z-index: 300; }
74
+ .z-tooltip { z-index: 400; }
75
+ .z-top { z-index: 9999; }