@primer/css 0.0.0-2021104163046 → 0.0.0-202110901751
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/CHANGELOG.md +13 -1
- package/DEVELOP.md +23 -6
- package/actionlist/action-list-item-divider.scss +42 -0
- package/actionlist/action-list-item.scss +444 -0
- package/actionlist/action-list-variables.scss +8 -0
- package/actionlist/action-list.scss +33 -0
- package/actionlist/index.scss +5 -0
- package/core/index.scss +1 -0
- package/dist/actionlist.css +2 -0
- package/dist/actionlist.css.map +1 -0
- package/dist/actionlist.js +1 -0
- package/dist/alerts.css.map +1 -1
- package/dist/autocomplete.css.map +1 -1
- package/dist/avatars.css.map +1 -1
- package/dist/base.css.map +1 -1
- package/dist/blankslate.css.map +1 -1
- package/dist/box.css.map +1 -1
- package/dist/branch-name.css.map +1 -1
- package/dist/breadcrumb.css.map +1 -1
- package/dist/buttons.css.map +1 -1
- package/dist/color-modes.css +1 -1
- package/dist/color-modes.css.map +1 -1
- package/dist/core.css +1 -1
- package/dist/core.css.map +1 -1
- package/dist/dropdown.css.map +1 -1
- package/dist/forms.css.map +1 -1
- package/dist/header.css.map +1 -1
- package/dist/labels.css.map +1 -1
- package/dist/layout.css +1 -1
- package/dist/layout.css.map +1 -1
- package/dist/links.css.map +1 -1
- package/dist/loaders.css.map +1 -1
- package/dist/markdown.css.map +1 -1
- package/dist/marketing-buttons.css.map +1 -1
- package/dist/marketing-type.css.map +1 -1
- package/dist/marketing-utilities.css.map +1 -1
- package/dist/meta.json +64 -53
- package/dist/navigation.css.map +1 -1
- package/dist/pagination.css.map +1 -1
- package/dist/popover.css.map +1 -1
- package/dist/primer.css +2 -2
- package/dist/primer.css.map +1 -1
- package/dist/progress.css.map +1 -1
- package/dist/select-menu.css.map +1 -1
- package/dist/stats/actionlist.json +1 -0
- package/dist/stats/color-modes.json +1 -1
- package/dist/stats/core.json +1 -1
- package/dist/stats/layout.json +1 -1
- package/dist/stats/primer.json +1 -1
- package/dist/subhead.css.map +1 -1
- package/dist/timeline.css.map +1 -1
- package/dist/toasts.css.map +1 -1
- package/dist/tooltips.css.map +1 -1
- package/dist/truncate.css.map +1 -1
- package/dist/utilities.css.map +1 -1
- package/package.json +10 -10
- package/support/variables/layout.scss +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,23 @@
|
|
|
1
1
|
# @primer/css
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-202110901751
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Fake entry to force publishing
|
|
8
8
|
|
|
9
|
+
## 18.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#1738](https://github.com/primer/css/pull/1738) [`dfe73db1`](https://github.com/primer/css/commit/dfe73db19556c4de8f57c9e610705af0a4d9f0f5) Thanks [@vdepizzol](https://github.com/vdepizzol)! - Update `Layout`'s sidebar width values.
|
|
14
|
+
|
|
15
|
+
* [#1657](https://github.com/primer/css/pull/1657) [`e7543009`](https://github.com/primer/css/commit/e754300989a4e762091a957edd324b26682b104a) Thanks [@langermank](https://github.com/langermank)! - ActionList Component: Primer CSS Implementation. Adding a new component `ActionList` to learn more checkout the docs [https://primer.style/css/components/action-list](https://primer.style/css/components/action-list).
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- [#1731](https://github.com/primer/css/pull/1731) [`832e9988`](https://github.com/primer/css/commit/832e99886df66ea5860d725517aeb9d5f178dd58) Thanks [@jonrohan](https://github.com/jonrohan)! - Updating @primer/primitives@6.1.0
|
|
20
|
+
|
|
9
21
|
## 18.1.0
|
|
10
22
|
|
|
11
23
|
### Minor Changes
|
package/DEVELOP.md
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
If you've made it this far, **thank you**! We appreciate your contribution, and hope that this document helps you along the way. If you have any questions or problems, don't hesitate to [file an issue](https://github.com/primer/css/issues/new).
|
|
4
4
|
|
|
5
5
|
## Structure
|
|
6
|
-
Primer CSS is published to [npm] as [@primer/css]. Each of Primer CSS's
|
|
6
|
+
Primer CSS is published to [npm] as [@primer/css]. Each of Primer CSS's components lives in a subfolder under `src/` with an `index.scss` in it. Generally speaking, the styles are divided into three primary themes:
|
|
7
|
+
|
|
8
|
+
* **Base** (`base/`) includes CSS reset, global styles, and typography
|
|
9
|
+
* **Themes** (`color-modes/`) includes color-mode themes from primer-primitives
|
|
10
|
+
* **Core** (`core/`) index file for all components, along with global CSS and utility imports
|
|
11
|
+
* **Support** (`support/`) SCSS variables and mixins for writing Primer CSS (example: spacer vars, breakpoints, font-size and weight)
|
|
12
|
+
* **Utilities** (`utilities/`) SCSS variables, mixins and utility classes (example: `margin` and `padding`)
|
|
7
13
|
|
|
8
|
-
* **Core** styles (in `core/`) are common dependencies, which include support variables, native element and typography styles, buttons, navigation, tooltips, etc.
|
|
9
|
-
* **Product** styles (in `product/`) are specific to github.com, and include components such as avatars, labels, markdown styles, popovers, and progress indicators.
|
|
10
|
-
* **Marketing** styles (in `marketing/`) are specific to GitHub marketing efforts, including international and event-focused sites as well as the more design-heavy feature pages on github.com. Marketing styles include new colors and button styles, and extend the core typography and whitespace scales.
|
|
11
14
|
|
|
12
15
|
### Paths
|
|
13
16
|
Here's what you need to know about how the files are structured in both git and in the published npm module:
|
|
@@ -15,8 +18,8 @@ Here's what you need to know about how the files are structured in both git and
|
|
|
15
18
|
* In git, all of the SCSS source files live in the `src/` directory.
|
|
16
19
|
* When published, all of the files in `src/` are "hoisted" to the package root so that you can import, say, utilities with:
|
|
17
20
|
|
|
18
|
-
```
|
|
19
|
-
@import "@primer/css/utilities
|
|
21
|
+
```css
|
|
22
|
+
@import "@primer/css/utilities.css";
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
* All bundle interdependencies within Primer CSS are defined as relative imports (e.g. with `../`), so everything should work fine as long as the `@primer/css` directory is in one of your Sass include paths (i.e. `node_modules`).
|
|
@@ -41,6 +44,19 @@ The [docs directory](../docs/) contains all of the documentation files in our do
|
|
|
41
44
|
### Code blocks
|
|
42
45
|
All `html` fenced code blocks in `src/**/*.md` will be rendered as stories and listed under the relevant module's name in the left-hand nav. File changes should trigger a live reload automatically (after a brief delay).
|
|
43
46
|
|
|
47
|
+
## Storybook
|
|
48
|
+
|
|
49
|
+
Primer CSS Storybook is used for designing and prototyping components. Stories are written in HTML and leverage the Storybook API for configuring conditional logic.
|
|
50
|
+
|
|
51
|
+
```sh
|
|
52
|
+
npm storybook
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### The Storybook directory
|
|
56
|
+
Storybook configuration files live in [.storybook](../docs/.storybook). Addons and additional global config can be added to [main.js](../docs/.storybook/main.js) or [preview.js](../docs/.storybook/preview.js)
|
|
57
|
+
|
|
58
|
+
### Stories
|
|
59
|
+
Stories are individual `.jsx` or `.mdx` files that contain component HTML for prototyping, typically showcasing all possible variations of a component. Stories can be found in the [stories directory](../docs/src/stories/components) and are organized by component. Storybook will build and deploy a preview on any open Pull Request.
|
|
44
60
|
## Scripts
|
|
45
61
|
Our [`package.json`](package.json) houses a collection of [run-scripts] that we use to maintain, test, build, and publish Primer CSS. Run `npm run <script>` with any of the following values for `<script>`:
|
|
46
62
|
|
|
@@ -51,6 +67,7 @@ Our [`package.json`](package.json) houses a collection of [run-scripts] that we
|
|
|
51
67
|
* `now-build` and `now-start` are run on [Now] to build and start the docs site server. `now-test` runs them both in order.
|
|
52
68
|
* `start` runs the documentation site locally (alias: `dev`).
|
|
53
69
|
* `test` runs our test suite.
|
|
70
|
+
* `storybook` runs storybook local development server.
|
|
54
71
|
|
|
55
72
|
The above list may not always be up-to-date. You can list all of the available scripts by calling `npm run` with no other arguments.
|
|
56
73
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// emtpy divider
|
|
2
|
+
|
|
3
|
+
.ActionList-sectionDivider {
|
|
4
|
+
// has children
|
|
5
|
+
&:not(:empty) {
|
|
6
|
+
display: flex;
|
|
7
|
+
// stylelint-disable-next-line primer/spacing
|
|
8
|
+
padding: ($spacer-1 * 1.5) $spacer-2;
|
|
9
|
+
font-size: $font-size-small;
|
|
10
|
+
font-weight: $font-weight-bold;
|
|
11
|
+
color: var(--color-fg-muted);
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// no children
|
|
16
|
+
&:empty {
|
|
17
|
+
height: 1px;
|
|
18
|
+
padding: 0;
|
|
19
|
+
// stylelint-disable-next-line primer/spacing
|
|
20
|
+
margin: ($spacer-2 - 1px) ($spacer-2 * -1) $spacer-2;
|
|
21
|
+
list-style: none;
|
|
22
|
+
background: var(--color-action-list-item-inline-divider);
|
|
23
|
+
border: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ActionList-sectionDivider--filled {
|
|
28
|
+
margin: $spacer-2 ($spacer-2 * -1);
|
|
29
|
+
background: var(--color-canvas-subtle);
|
|
30
|
+
border-top: $border-width $border-style var(--color-action-list-item-inline-divider);
|
|
31
|
+
border-bottom: $border-width $border-style var(--color-action-list-item-inline-divider);
|
|
32
|
+
|
|
33
|
+
// if no children, treat as divider
|
|
34
|
+
&:empty {
|
|
35
|
+
height: $spacer-2;
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&:first-child {
|
|
40
|
+
margin-top: 0;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,444 @@
|
|
|
1
|
+
@mixin focusOutline {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: 1;
|
|
4
|
+
outline: none;
|
|
5
|
+
box-shadow: 0 0 0 2px var(--color-accent-fg); // this color breaks convention
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
// <li>
|
|
9
|
+
.ActionList-item {
|
|
10
|
+
position: relative;
|
|
11
|
+
list-style: none;
|
|
12
|
+
background-color: transparent;
|
|
13
|
+
border-radius: $border-radius;
|
|
14
|
+
|
|
15
|
+
&:hover,
|
|
16
|
+
&:active {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
|
|
19
|
+
// a href
|
|
20
|
+
.ActionList-content {
|
|
21
|
+
text-decoration: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// only hover li without list as children
|
|
26
|
+
&:not(.ActionList-item--hasSubItem) {
|
|
27
|
+
&:hover {
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
background-color: var(--color-action-list-item-default-hover-bg);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&:active {
|
|
33
|
+
background: var(--color-action-list-item-default-active-bg);
|
|
34
|
+
|
|
35
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
36
|
+
animation: ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// stylelint-disable primer/box-shadow
|
|
40
|
+
@keyframes ActionList-item-active-bg {
|
|
41
|
+
// stylelint-disable-next-line max-nesting-depth
|
|
42
|
+
50% {
|
|
43
|
+
box-shadow: inset 0 0 0 rgba(#000, 0.04);
|
|
44
|
+
transform: scale(1);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// stylelint-disable-next-line max-nesting-depth
|
|
48
|
+
100% {
|
|
49
|
+
box-shadow: inset 0 3px 9px rgba(#000, 0.04);
|
|
50
|
+
transform: scale(0.97);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
// stylelint-enable primer/box-shadow
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:hover,
|
|
57
|
+
&:active {
|
|
58
|
+
// hide dividers
|
|
59
|
+
// stylelint-disable-next-line selector-max-specificity
|
|
60
|
+
.ActionList-item-label::before,
|
|
61
|
+
+ .ActionList-item .ActionList-item-label::before {
|
|
62
|
+
visibility: hidden;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// target contents of li if sub-item (li wraps item label + nested ul)
|
|
68
|
+
// collapse styles here
|
|
69
|
+
&.ActionList-item--hasSubItem {
|
|
70
|
+
// first child
|
|
71
|
+
> .ActionList-content {
|
|
72
|
+
&:hover {
|
|
73
|
+
background-color: var(--color-action-list-item-default-hover-bg);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
// active state [aria-current]
|
|
79
|
+
|
|
80
|
+
&.ActionList-item--navActive:not(.ActionList-item--danger) {
|
|
81
|
+
background: var(--color-action-list-item-default-selected-bg);
|
|
82
|
+
|
|
83
|
+
// stylelint-disable-next-line selector-max-specificity
|
|
84
|
+
&::before,
|
|
85
|
+
+ .ActionList-item::before {
|
|
86
|
+
visibility: hidden;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// blue accent line
|
|
90
|
+
&::after {
|
|
91
|
+
position: absolute;
|
|
92
|
+
top: calc(50% - 12px);
|
|
93
|
+
left: -$actionList-item-padding-horizontal;
|
|
94
|
+
width: $spacer-1;
|
|
95
|
+
height: $spacer-4;
|
|
96
|
+
content: '';
|
|
97
|
+
background: var(--color-accent-fg);
|
|
98
|
+
border-radius: $border-radius;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// collapsible item [aria-expanded]
|
|
103
|
+
|
|
104
|
+
&[aria-expanded='true'] {
|
|
105
|
+
.ActionList-item-collapseIcon {
|
|
106
|
+
transition: transform 120ms linear;
|
|
107
|
+
transform: scaleY(-1);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.ActionList--subGroup {
|
|
111
|
+
display: block;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.ActionList-item--hasSubItem {
|
|
115
|
+
// stylelint-disable-next-line selector-max-specificity
|
|
116
|
+
> .ActionList-content > .ActionList-item-label {
|
|
117
|
+
font-weight: $font-weight-bold;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
&[aria-expanded='false'] {
|
|
123
|
+
.ActionList-item-collapseIcon {
|
|
124
|
+
transition: transform 120ms linear;
|
|
125
|
+
transform: scaleY(1);
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.ActionList--subGroup {
|
|
129
|
+
display: none;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
// checkbox item [aria-checked]
|
|
134
|
+
// listbox [aria-selected]
|
|
135
|
+
|
|
136
|
+
&[aria-checked='true'],
|
|
137
|
+
&[aria-selected='true'] {
|
|
138
|
+
// multiselect checkmark
|
|
139
|
+
.ActionList-item-multiSelectCheckmark {
|
|
140
|
+
visibility: visible;
|
|
141
|
+
opacity: 1;
|
|
142
|
+
transition: visibility 0 linear 0, opacity $actionList-item-checkmark-transition-timing;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
// singleselect checkmark
|
|
146
|
+
.ActionList-item-singleSelectCheckmark {
|
|
147
|
+
visibility: visible;
|
|
148
|
+
|
|
149
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
150
|
+
animation: checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// checkbox
|
|
155
|
+
.ActionList-item-multiSelectIcon {
|
|
156
|
+
.ActionList-item-multiSelectIconRect {
|
|
157
|
+
fill: var(--color-accent-fg);
|
|
158
|
+
stroke: var(--color-accent-fg);
|
|
159
|
+
stroke-width: $border-width;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
.ActionList-item-multiSelectCheckmark {
|
|
163
|
+
fill: var(--color-fg-on-emphasis);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&[aria-checked='false'],
|
|
169
|
+
&[aria-selected='false'] {
|
|
170
|
+
// multiselect checkmark
|
|
171
|
+
.ActionList-item-multiSelectCheckmark {
|
|
172
|
+
visibility: hidden;
|
|
173
|
+
opacity: 0;
|
|
174
|
+
transition:
|
|
175
|
+
visibility 0 linear $actionList-item-checkmark-transition-timing,
|
|
176
|
+
opacity $actionList-item-checkmark-transition-timing;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// singleselect checkmark
|
|
180
|
+
.ActionList-item-singleSelectCheckmark {
|
|
181
|
+
visibility: hidden;
|
|
182
|
+
transition: visibility 0s linear 200ms;
|
|
183
|
+
clip-path: inset(16px 0 0 0);
|
|
184
|
+
|
|
185
|
+
@media screen and (prefers-reduced-motion: no-preference) {
|
|
186
|
+
animation: checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
// checkbox
|
|
191
|
+
.ActionList-item-multiSelectIcon {
|
|
192
|
+
.ActionList-item-multiSelectIconRect {
|
|
193
|
+
fill: var(--color-canvas-default);
|
|
194
|
+
stroke: var(--color-border-default);
|
|
195
|
+
stroke-width: $border-width;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.ActionList-item-multiSelectIconRect {
|
|
200
|
+
fill: var(--color-canvas-default);
|
|
201
|
+
border: $border-width $border-style var(--color-border-default);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
@keyframes checkmarkIn {
|
|
206
|
+
from {
|
|
207
|
+
clip-path: inset(16px 0 0 0);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
to {
|
|
211
|
+
clip-path: inset(0 0 0 0);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
@keyframes checkmarkOut {
|
|
216
|
+
from {
|
|
217
|
+
clip-path: inset(0 0 0 0);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
to {
|
|
221
|
+
clip-path: inset(16px 0 0 0);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
// variants
|
|
226
|
+
|
|
227
|
+
// danger
|
|
228
|
+
&.ActionList-item--danger {
|
|
229
|
+
.ActionList-item-label {
|
|
230
|
+
color: var(--color-danger-fg);
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.ActionList-item-visual {
|
|
234
|
+
color: var(--color-danger-fg);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@media (hover: hover) and (pointer: fine) {
|
|
238
|
+
&:hover {
|
|
239
|
+
background: var(--color-action-list-item-danger-hover-bg);
|
|
240
|
+
|
|
241
|
+
// stylelint-disable-next-line max-nesting-depth
|
|
242
|
+
.ActionList-item-label {
|
|
243
|
+
color: var(--color-action-list-item-danger-hover-text);
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&:active {
|
|
249
|
+
background: var(--color-action-list-item-danger-active-bg);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
// disabled
|
|
254
|
+
&[aria-disabled='true'] {
|
|
255
|
+
.ActionList-item-label,
|
|
256
|
+
.ActionList-item-description {
|
|
257
|
+
color: var(--color-primer-fg-disabled);
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.ActionList-item-visual {
|
|
261
|
+
fill: var(--color-primer-fg-disabled);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@media (hover: hover) and (pointer: fine) {
|
|
265
|
+
&:hover {
|
|
266
|
+
cursor: not-allowed;
|
|
267
|
+
background-color: transparent;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
// if nested list exists, remove default padding
|
|
273
|
+
.ActionList {
|
|
274
|
+
// stylelint-disable-next-line primer/spacing
|
|
275
|
+
padding: unset;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
// span or a href
|
|
280
|
+
.ActionList-content {
|
|
281
|
+
position: relative;
|
|
282
|
+
display: grid;
|
|
283
|
+
// stylelint-disable-next-line primer/spacing
|
|
284
|
+
padding: $actionList-item-padding-vertical $actionList-item-padding-horizontal;
|
|
285
|
+
font-weight: $font-weight-normal;
|
|
286
|
+
color: var(--color-fg-default);
|
|
287
|
+
user-select: none;
|
|
288
|
+
border-radius: $border-radius;
|
|
289
|
+
transition: $actionList-item-bg-transition;
|
|
290
|
+
grid-template-rows: min-content;
|
|
291
|
+
grid-template-areas: 'leadingAction leadingVisual label trailingVisual trailingAction';
|
|
292
|
+
grid-template-columns: min-content min-content minmax(min-content, auto) min-content min-content;
|
|
293
|
+
align-items: center;
|
|
294
|
+
|
|
295
|
+
// column-gap persists with empty grid-areas, margin applies only when children exist
|
|
296
|
+
> :not(:last-child) {
|
|
297
|
+
margin-right: $spacer-2;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
&:focus-visible {
|
|
301
|
+
@include focusOutline;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// sizes
|
|
305
|
+
|
|
306
|
+
&.ActionList-content--sizeMedium {
|
|
307
|
+
// 44px total height
|
|
308
|
+
// stylelint-disable-next-line primer/spacing
|
|
309
|
+
padding: $actionList-item-padding-vertical-md $actionList-item-padding-horizontal;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
&.ActionList-content--sizeLarge {
|
|
313
|
+
// 48px total height
|
|
314
|
+
// stylelint-disable-next-line primer/spacing
|
|
315
|
+
padding: $actionList-item-padding-vertical-lg $actionList-item-padding-horizontal;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// On pointer:coarse (mobile), all list items are large
|
|
319
|
+
@media (pointer: coarse) {
|
|
320
|
+
// stylelint-disable-next-line primer/spacing
|
|
321
|
+
padding: $actionList-item-padding-vertical-lg $actionList-item-padding-horizontal;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
&.ActionList-content--blockDescription {
|
|
325
|
+
// if leading/trailing visual, align with first line of content
|
|
326
|
+
.ActionList-item-visual {
|
|
327
|
+
place-self: start;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
// place children on grid
|
|
333
|
+
|
|
334
|
+
.ActionList-item-action--leading {
|
|
335
|
+
grid-area: leadingAction;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.ActionList-item-visual--leading {
|
|
339
|
+
grid-area: leadingVisual;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.ActionList-item-label {
|
|
343
|
+
grid-area: label;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.ActionList-item-visual--trailing {
|
|
347
|
+
grid-area: trailingVisual;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.ActionList-item-action--trailing {
|
|
351
|
+
grid-area: trailingAction;
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// wrapper span
|
|
355
|
+
// default block
|
|
356
|
+
.ActionList-item-descriptionWrap {
|
|
357
|
+
grid-area: label;
|
|
358
|
+
display: flex;
|
|
359
|
+
flex-direction: column;
|
|
360
|
+
|
|
361
|
+
.ActionList-item-description {
|
|
362
|
+
margin-top: $spacer-1;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.ActionList-item-label {
|
|
366
|
+
font-weight: $font-weight-bold;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
// inline
|
|
371
|
+
.ActionList-item-descriptionWrap--inline {
|
|
372
|
+
flex-direction: row;
|
|
373
|
+
align-items: baseline;
|
|
374
|
+
|
|
375
|
+
.ActionList-item-description {
|
|
376
|
+
// stylelint-disable-next-line primer/spacing
|
|
377
|
+
margin-left: $actionList-item-padding-horizontal;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// description
|
|
382
|
+
.ActionList-item-description {
|
|
383
|
+
font-size: $font-size-small;
|
|
384
|
+
font-weight: $font-weight-normal;
|
|
385
|
+
line-height: $lh-default;
|
|
386
|
+
color: var(--color-fg-muted);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
// helper for grid alignment with multi-line content
|
|
390
|
+
// span wrapping svg or text
|
|
391
|
+
.ActionList-item-visual,
|
|
392
|
+
.ActionList-item-action {
|
|
393
|
+
display: flex;
|
|
394
|
+
min-height: $actionList-item-height-sm;
|
|
395
|
+
color: var(--color-fg-muted); // if visual is text
|
|
396
|
+
fill: var(--color-fg-muted);
|
|
397
|
+
align-items: center;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// text
|
|
401
|
+
// stylelint-disable-next-line no-duplicate-selectors
|
|
402
|
+
.ActionList-item-label {
|
|
403
|
+
position: relative; // for pseudo dividers
|
|
404
|
+
font-weight: $font-weight-normal;
|
|
405
|
+
// we need a strict value here for grid alignment
|
|
406
|
+
// stylelint-disable-next-line primer/typography
|
|
407
|
+
line-height: $actionList-item-label-line-height;
|
|
408
|
+
color: var(--color-fg-default);
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// nested lists (only supports 1 level currently)
|
|
412
|
+
// target ActionList-item--subItem for padding-left to maintain :active :after state
|
|
413
|
+
|
|
414
|
+
.ActionList-item--subItem > .ActionList-content {
|
|
415
|
+
font-size: $font-size-small;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
// no leading visual
|
|
419
|
+
.ActionList--subGroup {
|
|
420
|
+
.ActionList-item--subItem {
|
|
421
|
+
padding-left: $spacer-3;
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
// has 16px leading visual
|
|
426
|
+
.ActionList-content--visual16 + .ActionList--subGroup {
|
|
427
|
+
.ActionList-item--subItem {
|
|
428
|
+
padding-left: $spacer-4;
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
// has 20px leading visual
|
|
433
|
+
.ActionList-content--visual20 + .ActionList--subGroup {
|
|
434
|
+
.ActionList-item--subItem {
|
|
435
|
+
padding-left: $spacer-3 * 1.75;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// has 24px leading visual
|
|
440
|
+
.ActionList-content--visual24 + .ActionList--subGroup {
|
|
441
|
+
.ActionList-item--subItem {
|
|
442
|
+
padding-left: $spacer-5;
|
|
443
|
+
}
|
|
444
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
$actionList-item-height-sm: $spacer-2 * 2.5 !default;
|
|
2
|
+
$actionList-item-label-line-height: $spacer-2 * 2.5 !default;
|
|
3
|
+
$actionList-item-padding-vertical-md: $spacer-2 * 1.25 !default;
|
|
4
|
+
$actionList-item-padding-vertical-lg: $spacer-2 * 1.75 !default;
|
|
5
|
+
$actionList-item-padding-vertical: $spacer-1 * 1.5 !default;
|
|
6
|
+
$actionList-item-padding-horizontal: $spacer-2 !default;
|
|
7
|
+
$actionList-item-bg-transition: background 33.333ms linear !default; // 2 frames on a 60hz monitor
|
|
8
|
+
$actionList-item-checkmark-transition-timing: 50ms !default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// <ul>
|
|
2
|
+
.ActionList {
|
|
3
|
+
padding: $spacer-2;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
// dividers
|
|
7
|
+
|
|
8
|
+
.ActionList--divided {
|
|
9
|
+
.ActionList-item-label::before {
|
|
10
|
+
position: absolute;
|
|
11
|
+
top: -$actionList-item-padding-vertical;
|
|
12
|
+
display: block;
|
|
13
|
+
width: 100%;
|
|
14
|
+
height: 1px;
|
|
15
|
+
content: '';
|
|
16
|
+
background: var(--color-action-list-item-inline-divider);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// hide divider if item is active
|
|
20
|
+
.ActionList-item--navActive {
|
|
21
|
+
// stylelint-disable-next-line selector-max-specificity, selector-max-compound-selectors
|
|
22
|
+
.ActionList-item-label::before,
|
|
23
|
+
+ .ActionList-item .ActionList-item-label::before {
|
|
24
|
+
visibility: hidden;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// hide if item is first of type with label::before, or is the first item after a sectionDivider
|
|
30
|
+
.ActionList-item:first-of-type .ActionList-item-label::before,
|
|
31
|
+
.ActionList-sectionDivider + .ActionList-item .ActionList-item-label::before {
|
|
32
|
+
visibility: hidden;
|
|
33
|
+
}
|
package/core/index.scss
CHANGED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.ActionList{padding:8px}.ActionList--divided .ActionList-item-label::before{position:absolute;top:-6px;display:block;width:100%;height:1px;content:"";background:var(--color-action-list-item-inline-divider)}.ActionList--divided .ActionList-item--navActive .ActionList-item-label::before,.ActionList--divided .ActionList-item--navActive+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item:first-of-type .ActionList-item-label::before,.ActionList-sectionDivider+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item{position:relative;list-style:none;background-color:transparent;border-radius:6px}.ActionList-item:hover,.ActionList-item:active{cursor:pointer}.ActionList-item:hover .ActionList-content,.ActionList-item:active .ActionList-content{text-decoration:none}.ActionList-item:not(.ActionList-item--hasSubItem):hover{cursor:pointer;background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item:not(.ActionList-item--hasSubItem):active{background:var(--color-action-list-item-default-active-bg)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item:not(.ActionList-item--hasSubItem):active{animation:ActionList-item-active-bg 4s forwards cubic-bezier(0.33, 1, 0.68, 1)}}@keyframes ActionList-item-active-bg{50%{box-shadow:inset 0 0 0 rgba(0,0,0,.04);transform:scale(1)}100%{box-shadow:inset 0 3px 9px rgba(0,0,0,.04);transform:scale(0.97)}}.ActionList-item:not(.ActionList-item--hasSubItem):hover .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):hover+.ActionList-item .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active .ActionList-item-label::before,.ActionList-item:not(.ActionList-item--hasSubItem):active+.ActionList-item .ActionList-item-label::before{visibility:hidden}.ActionList-item.ActionList-item--hasSubItem>.ActionList-content:hover{background-color:var(--color-action-list-item-default-hover-bg)}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger){background:var(--color-action-list-item-default-selected-bg)}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::before,.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)+.ActionList-item::before{visibility:hidden}.ActionList-item.ActionList-item--navActive:not(.ActionList-item--danger)::after{position:absolute;top:calc(50% - 12px);left:-8px;width:4px;height:24px;content:"";background:var(--color-accent-fg);border-radius:6px}.ActionList-item[aria-expanded=true] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(-1)}.ActionList-item[aria-expanded=true] .ActionList--subGroup{display:block}.ActionList-item[aria-expanded=true].ActionList-item--hasSubItem>.ActionList-content>.ActionList-item-label{font-weight:600}.ActionList-item[aria-expanded=false] .ActionList-item-collapseIcon{transition:transform 120ms linear;transform:scaleY(1)}.ActionList-item[aria-expanded=false] .ActionList--subGroup{display:none}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectCheckmark{visibility:visible;opacity:1;transition:visibility 0 linear 0,opacity 50ms}.ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark{visibility:visible}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-checked=true] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-singleSelectCheckmark{animation:checkmarkIn 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards}}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect{fill:var(--color-accent-fg);stroke:var(--color-accent-fg);stroke-width:1px}.ActionList-item[aria-checked=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=true] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectCheckmark{fill:var(--color-fg-on-emphasis)}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectCheckmark{visibility:hidden;opacity:0;transition:visibility 0 linear 50ms,opacity 50ms}.ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark{visibility:hidden;transition:visibility 0s linear 200ms;-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}@media screen and (prefers-reduced-motion: no-preference){.ActionList-item[aria-checked=false] .ActionList-item-singleSelectCheckmark,.ActionList-item[aria-selected=false] .ActionList-item-singleSelectCheckmark{animation:checkmarkOut 200ms cubic-bezier(0.11, 0, 0.5, 0) forwards}}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIcon .ActionList-item-multiSelectIconRect{fill:var(--color-canvas-default);stroke:var(--color-border-default);stroke-width:1px}.ActionList-item[aria-checked=false] .ActionList-item-multiSelectIconRect,.ActionList-item[aria-selected=false] .ActionList-item-multiSelectIconRect{fill:var(--color-canvas-default);border:1px solid var(--color-border-default)}@keyframes checkmarkIn{from{-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}to{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}}@keyframes checkmarkOut{from{-webkit-clip-path:inset(0 0 0 0);clip-path:inset(0 0 0 0)}to{-webkit-clip-path:inset(16px 0 0 0);clip-path:inset(16px 0 0 0)}}.ActionList-item.ActionList-item--danger .ActionList-item-label{color:var(--color-danger-fg)}.ActionList-item.ActionList-item--danger .ActionList-item-visual{color:var(--color-danger-fg)}@media(hover: hover)and (pointer: fine){.ActionList-item.ActionList-item--danger:hover{background:var(--color-action-list-item-danger-hover-bg)}.ActionList-item.ActionList-item--danger:hover .ActionList-item-label{color:var(--color-action-list-item-danger-hover-text)}}.ActionList-item.ActionList-item--danger:active{background:var(--color-action-list-item-danger-active-bg)}.ActionList-item[aria-disabled=true] .ActionList-item-label,.ActionList-item[aria-disabled=true] .ActionList-item-description{color:var(--color-primer-fg-disabled)}.ActionList-item[aria-disabled=true] .ActionList-item-visual{fill:var(--color-primer-fg-disabled)}@media(hover: hover)and (pointer: fine){.ActionList-item[aria-disabled=true]:hover{cursor:not-allowed;background-color:transparent}}.ActionList-item .ActionList{padding:unset}.ActionList-content{position:relative;display:grid;padding:6px 8px;font-weight:400;color:var(--color-fg-default);-webkit-user-select:none;user-select:none;border-radius:6px;transition:background 33.333ms linear;grid-template-rows:min-content;grid-template-areas:"leadingAction leadingVisual label trailingVisual trailingAction";grid-template-columns:min-content min-content minmax(min-content, auto) min-content min-content;align-items:center}.ActionList-content>:not(:last-child){margin-right:8px}.ActionList-content:focus-visible{position:relative;z-index:1;outline:none;box-shadow:0 0 0 2px var(--color-accent-fg)}.ActionList-content.ActionList-content--sizeMedium{padding:10px 8px}.ActionList-content.ActionList-content--sizeLarge{padding:14px 8px}@media(pointer: coarse){.ActionList-content{padding:14px 8px}}.ActionList-content.ActionList-content--blockDescription .ActionList-item-visual{place-self:start}.ActionList-item-action--leading{grid-area:leadingAction}.ActionList-item-visual--leading{grid-area:leadingVisual}.ActionList-item-label{grid-area:label}.ActionList-item-visual--trailing{grid-area:trailingVisual}.ActionList-item-action--trailing{grid-area:trailingAction}.ActionList-item-descriptionWrap{grid-area:label;display:flex;flex-direction:column}.ActionList-item-descriptionWrap .ActionList-item-description{margin-top:4px}.ActionList-item-descriptionWrap .ActionList-item-label{font-weight:600}.ActionList-item-descriptionWrap--inline{flex-direction:row;align-items:baseline}.ActionList-item-descriptionWrap--inline .ActionList-item-description{margin-left:8px}.ActionList-item-description{font-size:12px;font-weight:400;line-height:1.5;color:var(--color-fg-muted)}.ActionList-item-visual,.ActionList-item-action{display:flex;min-height:20px;color:var(--color-fg-muted);fill:var(--color-fg-muted);align-items:center}.ActionList-item-label{position:relative;font-weight:400;line-height:20px;color:var(--color-fg-default)}.ActionList-item--subItem>.ActionList-content{font-size:12px}.ActionList--subGroup .ActionList-item--subItem{padding-left:16px}.ActionList-content--visual16+.ActionList--subGroup .ActionList-item--subItem{padding-left:24px}.ActionList-content--visual20+.ActionList--subGroup .ActionList-item--subItem{padding-left:28px}.ActionList-content--visual24+.ActionList--subGroup .ActionList-item--subItem{padding-left:32px}.ActionList-sectionDivider:not(:empty){display:flex;padding:6px 8px;font-size:12px;font-weight:600;color:var(--color-fg-muted);flex-direction:column}.ActionList-sectionDivider:empty{height:1px;padding:0;margin:7px -8px 8px;list-style:none;background:var(--color-action-list-item-inline-divider);border:0}.ActionList-sectionDivider--filled{margin:8px -8px;background:var(--color-canvas-subtle);border-top:1px solid var(--color-action-list-item-inline-divider);border-bottom:1px solid var(--color-action-list-item-inline-divider)}.ActionList-sectionDivider--filled:empty{height:8px;box-sizing:border-box}.ActionList-sectionDivider--filled:first-child{margin-top:0}
|
|
2
|
+
/*# sourceMappingURL=actionlist.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file:///home/runner/work/css/css/src/actionlist/index.scss%23sass"],"names":[],"mappings":"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","file":"actionlist.css"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {cssstats: require('./stats/actionlist.json')}
|
package/dist/alerts.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file:///home/runner/work/css/css/src/alerts/index.scss%23sass"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["file:///home/runner/work/css/css/src/alerts/index.scss%23sass"],"names":[],"mappings":"AAkgBA,OAAA,iBACE,CAAA,iBAAA,CAAA,kBAAA,CAAA,gBAAA,CAAA,iBAAA,CAAA,oBAAA,eAAA,CAAA,gBAAA,iBAAA,CAAA,gBAAA,kBAAA,CAAA,aAAA,WAAA,CAAA,YAAA,CAAA,YAAA,CAAA,iBAAA,CAAA,cAAA,CAAA,eAAA,CAAA,QAAA,CAAA,uBAAA,CAAA,oBAAA,CAAA,eAAA,CAAA,mBAAA,UAAA,CAAA,oBAAA,UAAA,CAAA,sBAAA,cAAA,CAAA,cAAA,WAAA,CAAA,eAAA,CAAA,gBAAA,CAAA,2BAAA,CAAA,2BAAA,gBAAA,CAAA,2BAAA,CAAA,mCAAA,aAAA,CAAA,OAAA,6BAAA,CAAA,wFAAA,CAAA,sCAAA,CAAA,gBAAA,4BAAA,CAAA,YAAA,6BAAA,CAAA,8FAAA,CAAA,yCAAA,CAAA,qBAAA,+BAAA,CAAA,aAAA,6BAAA,CAAA,wFAAA,CAAA,sCAAA,CAAA,sBAAA,4BAAA,CAAA,eAAA,6BAAA,CAAA,0FAAA,CAAA,uCAAA,CAAA,wBAAA,6BAAA,CAAA,YAAA,eAAA,CAAA,kBAAA,CAAA,eAAA,CAAA,cAAA,cAAA,CAAA,KAAA,CAAA,UAAA,CAAA,UAAA,CAAA,YAAA,CAAA,cAAA,CAAA,aAAA,CAAA,eAAA,CAAA,0BAAA,4CAAA,CAAA,SAAA,YAAA,CAAA,kBAAA,CAAA,eAAA,CAAA,8CAAA","file":"alerts.css"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file:///home/runner/work/css/css/src/autocomplete/index.scss%23sass"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sources":["file:///home/runner/work/css/css/src/autocomplete/index.scss%23sass"],"names":[],"mappings":"AAigBA,sBAAA,iBAAA,CAAA,UAAA,CAAA,UAAA,CAAA,eAAA,CAAA,eAAA,CAAA,cAAA,CAAA,eAAA,CAAA,sCAAA,CAAA,4CAAA,CAAA,iBAAA,CAAA,qCAAA,CAAA,mBAAA,aAAA,CAAA,UAAA,CAAA,eAAA,CAAA,eAAA,CAAA,eAAA,CAAA,6BAAA,CAAA,eAAA,CAAA,oBAAA,CAAA,sBAAA,CAAA,kBAAA,CAAA,cAAA,CAAA,4CAAA,CAAA,QAAA,CAAA,yBAAA,iCAAA,CAAA,oBAAA,CAAA,6CAAA,CAAA,2BAAA,wBAAA,CAAA,uGAAA,iCAAA,CAAA,oBAAA,CAAA,6CAAA,CAAA,6GAAA,wBAAA,CAAA,WAAA,iBAAA,CAAA,KAAA,CAAA,MAAA,CAAA,eAAA,CAAA,SAAA,CAAA,QAAA,CAAA,eAAA,CAAA,eAAA,CAAA,cAAA,CAAA,sCAAA,CAAA,4CAAA,CAAA,iBAAA,CAAA,qCAAA,CAAA,cAAA,aAAA,CAAA,eAAA,CAAA,eAAA,CAAA,iDAAA,CAAA,oBAAA,eAAA,CAAA,2BAAA,CAAA,yBAAA,eAAA,CAAA,8BAAA,CAAA,6BAAA,CAAA,0BAAA,0BAAA,CAAA,2BAAA,CAAA,oBAAA,iCAAA,CAAA,oBAAA,CAAA,uCAAA,CAAA,0BAAA,iCAAA,CAAA,6BAAA,wBAAA,CAAA,iEAAA,iCAAA,CAAA,oBAAA,CAAA,uCAAA,CAAA,6EAAA,iCAAA,CAAA,mFAAA,wBAAA,CAAA,qBAAA,iBAAA,CAAA,KAAA,CAAA,MAAA,CAAA,UAAA,CAAA,yBAAA,sCAAA,oBAAA,CAAA,mBAAA,CAAA,+BAAA,gBAAA,CAAA","file":"autocomplete.css"}
|