polaris_view_components 0.8.0 → 0.9.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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/icons/polaris/AnalyticsMinor.svg +1 -0
  3. data/app/assets/icons/polaris/AppsMinor.svg +1 -0
  4. data/app/assets/icons/polaris/BlockMinor.svg +1 -0
  5. data/app/assets/icons/polaris/ButtonMinor.svg +1 -0
  6. data/app/assets/icons/polaris/CaretDownMinor.svg +1 -1
  7. data/app/assets/icons/polaris/CaretUpMinor.svg +1 -1
  8. data/app/assets/icons/polaris/CircleTickMinor.svg +1 -0
  9. data/app/assets/icons/polaris/Columns3Minor.svg +1 -0
  10. data/app/assets/icons/polaris/CustomersMinor.svg +1 -1
  11. data/app/assets/icons/polaris/DiscountsMinor.svg +1 -0
  12. data/app/assets/icons/polaris/DropdownMinor.svg +1 -1
  13. data/app/assets/icons/polaris/FinancesMajor.svg +1 -0
  14. data/app/assets/icons/polaris/FinancesMinor.svg +1 -0
  15. data/app/assets/icons/polaris/HomeMinor.svg +1 -0
  16. data/app/assets/icons/polaris/MarketingMinor.svg +1 -0
  17. data/app/assets/icons/polaris/OnlineStoreMinor.svg +1 -0
  18. data/app/assets/icons/polaris/OrdersMinor.svg +1 -0
  19. data/app/assets/icons/polaris/ProductsMinor.svg +1 -0
  20. data/app/assets/icons/polaris/QuestionMarkInverseMajor.svg +1 -0
  21. data/app/assets/icons/polaris/QuestionMarkInverseMinor.svg +1 -0
  22. data/app/assets/icons/polaris/SelectMinor.svg +1 -1
  23. data/app/assets/icons/polaris/TitleMinor.svg +1 -0
  24. data/app/assets/icons/polaris/WandMinor.svg +1 -0
  25. data/app/assets/javascripts/polaris_view_components/collapsible_controller.js +19 -0
  26. data/app/assets/javascripts/polaris_view_components/dropzone_controller.js +15 -3
  27. data/app/assets/javascripts/polaris_view_components/frame_controller.js +1 -1
  28. data/app/assets/javascripts/polaris_view_components/index.js +2 -0
  29. data/app/assets/javascripts/polaris_view_components/polaris_controller.js +4 -0
  30. data/app/assets/javascripts/polaris_view_components/toast_controller.js +13 -2
  31. data/app/assets/javascripts/polaris_view_components/{utils.js → utils/index.js} +3 -1
  32. data/app/assets/javascripts/polaris_view_components/utils/use-transition.js +162 -0
  33. data/app/assets/javascripts/polaris_view_components.js +194 -162
  34. data/app/assets/stylesheets/polaris_view_components/custom.css +4 -0
  35. data/app/assets/stylesheets/polaris_view_components.css +41 -33
  36. data/app/components/polaris/collapsible_component.rb +37 -0
  37. data/app/components/polaris/dropzone_component.html.erb +1 -1
  38. data/app/components/polaris/keyboard_key_component.rb +20 -0
  39. data/app/components/polaris/resource_item_component.rb +3 -1
  40. data/app/components/polaris/skeleton_display_text_component.rb +32 -0
  41. data/app/components/polaris/skeleton_thumbnail_component.rb +31 -0
  42. data/app/helpers/polaris/form_builder.rb +1 -1
  43. data/app/helpers/polaris/view_helper.rb +4 -0
  44. data/config/locales/en.yml +6 -0
  45. data/lib/polaris/view_components/version.rb +1 -1
  46. metadata +28 -15
@@ -2,6 +2,163 @@ import { Controller } from "@hotwired/stimulus";
2
2
 
3
3
  import { get } from "@rails/request.js";
4
4
 
5
+ const alpineNames = {
6
+ enterFromClass: "enter",
7
+ enterActiveClass: "enterStart",
8
+ enterToClass: "enterEnd",
9
+ leaveFromClass: "leave",
10
+ leaveActiveClass: "leaveStart",
11
+ leaveToClass: "leaveEnd"
12
+ };
13
+
14
+ const defaultOptions = {
15
+ transitioned: false,
16
+ hiddenClass: "hidden",
17
+ preserveOriginalClass: true,
18
+ removeToClasses: true
19
+ };
20
+
21
+ const useTransition = (controller, options = {}) => {
22
+ var _a, _b, _c;
23
+ const targetName = controller.element.dataset.transitionTarget;
24
+ let targetFromAttribute;
25
+ if (targetName) {
26
+ targetFromAttribute = controller[`${targetName}Target`];
27
+ }
28
+ const targetElement = (options === null || options === void 0 ? void 0 : options.element) || targetFromAttribute || controller.element;
29
+ if (!(targetElement instanceof HTMLElement || targetElement instanceof SVGElement)) return;
30
+ const dataset = targetElement.dataset;
31
+ const leaveAfter = parseInt(dataset.leaveAfter || "") || options.leaveAfter || 0;
32
+ const {transitioned: transitioned, hiddenClass: hiddenClass, preserveOriginalClass: preserveOriginalClass, removeToClasses: removeToClasses} = Object.assign(defaultOptions, options);
33
+ const controllerEnter = (_a = controller.enter) === null || _a === void 0 ? void 0 : _a.bind(controller);
34
+ const controllerLeave = (_b = controller.leave) === null || _b === void 0 ? void 0 : _b.bind(controller);
35
+ const controllerToggleTransition = (_c = controller.toggleTransition) === null || _c === void 0 ? void 0 : _c.bind(controller);
36
+ async function enter(event) {
37
+ if (controller.transitioned) return;
38
+ controller.transitioned = true;
39
+ controllerEnter && controllerEnter(event);
40
+ const enterFromClasses = getAttribute("enterFrom", options, dataset);
41
+ const enterActiveClasses = getAttribute("enterActive", options, dataset);
42
+ const enterToClasses = getAttribute("enterTo", options, dataset);
43
+ const leaveToClasses = getAttribute("leaveTo", options, dataset);
44
+ if (!!hiddenClass) {
45
+ targetElement.classList.remove(hiddenClass);
46
+ }
47
+ if (!removeToClasses) {
48
+ removeClasses(targetElement, leaveToClasses);
49
+ }
50
+ await transition(targetElement, enterFromClasses, enterActiveClasses, enterToClasses, hiddenClass, preserveOriginalClass, removeToClasses);
51
+ if (leaveAfter > 0) {
52
+ setTimeout((() => {
53
+ leave(event);
54
+ }), leaveAfter);
55
+ }
56
+ }
57
+ async function leave(event) {
58
+ if (!controller.transitioned) return;
59
+ controller.transitioned = false;
60
+ controllerLeave && controllerLeave(event);
61
+ const leaveFromClasses = getAttribute("leaveFrom", options, dataset);
62
+ const leaveActiveClasses = getAttribute("leaveActive", options, dataset);
63
+ const leaveToClasses = getAttribute("leaveTo", options, dataset);
64
+ const enterToClasses = getAttribute("enterTo", options, dataset);
65
+ if (!removeToClasses) {
66
+ removeClasses(targetElement, enterToClasses);
67
+ }
68
+ await transition(targetElement, leaveFromClasses, leaveActiveClasses, leaveToClasses, hiddenClass, preserveOriginalClass, removeToClasses);
69
+ if (!!hiddenClass) {
70
+ targetElement.classList.add(hiddenClass);
71
+ }
72
+ }
73
+ function toggleTransition(event) {
74
+ controllerToggleTransition && controllerToggleTransition(event);
75
+ if (controller.transitioned) {
76
+ leave();
77
+ } else {
78
+ enter();
79
+ }
80
+ }
81
+ async function transition(element, initialClasses, activeClasses, endClasses, hiddenClass, preserveOriginalClass, removeEndClasses) {
82
+ const stashedClasses = [];
83
+ if (preserveOriginalClass) {
84
+ initialClasses.forEach((cls => element.classList.contains(cls) && cls !== hiddenClass && stashedClasses.push(cls)));
85
+ activeClasses.forEach((cls => element.classList.contains(cls) && cls !== hiddenClass && stashedClasses.push(cls)));
86
+ endClasses.forEach((cls => element.classList.contains(cls) && cls !== hiddenClass && stashedClasses.push(cls)));
87
+ }
88
+ addClasses(element, initialClasses);
89
+ removeClasses(element, stashedClasses);
90
+ addClasses(element, activeClasses);
91
+ await nextAnimationFrame();
92
+ removeClasses(element, initialClasses);
93
+ addClasses(element, endClasses);
94
+ await afterTransition(element);
95
+ removeClasses(element, activeClasses);
96
+ if (removeEndClasses) {
97
+ removeClasses(element, endClasses);
98
+ }
99
+ addClasses(element, stashedClasses);
100
+ }
101
+ function initialState() {
102
+ controller.transitioned = transitioned;
103
+ if (transitioned) {
104
+ if (!!hiddenClass) {
105
+ targetElement.classList.remove(hiddenClass);
106
+ }
107
+ enter();
108
+ } else {
109
+ if (!!hiddenClass) {
110
+ targetElement.classList.add(hiddenClass);
111
+ }
112
+ leave();
113
+ }
114
+ }
115
+ function addClasses(element, classes) {
116
+ if (classes.length > 0) {
117
+ element.classList.add(...classes);
118
+ }
119
+ }
120
+ function removeClasses(element, classes) {
121
+ if (classes.length > 0) {
122
+ element.classList.remove(...classes);
123
+ }
124
+ }
125
+ initialState();
126
+ Object.assign(controller, {
127
+ enter: enter,
128
+ leave: leave,
129
+ toggleTransition: toggleTransition
130
+ });
131
+ return [ enter, leave, toggleTransition ];
132
+ };
133
+
134
+ function getAttribute(name, options, dataset) {
135
+ const datasetName = `transition${name[0].toUpperCase()}${name.substr(1)}`;
136
+ const datasetAlpineName = alpineNames[name];
137
+ const classes = options[name] || dataset[datasetName] || dataset[datasetAlpineName] || " ";
138
+ return isEmpty(classes) ? [] : classes.split(" ");
139
+ }
140
+
141
+ async function afterTransition(element) {
142
+ return new Promise((resolve => {
143
+ const duration = Number(getComputedStyle(element).transitionDuration.split(",")[0].replace("s", "")) * 1e3;
144
+ setTimeout((() => {
145
+ resolve(duration);
146
+ }), duration);
147
+ }));
148
+ }
149
+
150
+ async function nextAnimationFrame() {
151
+ return new Promise((resolve => {
152
+ requestAnimationFrame((() => {
153
+ requestAnimationFrame(resolve);
154
+ }));
155
+ }));
156
+ }
157
+
158
+ function isEmpty(str) {
159
+ return str.length === 0 || !str.trim();
160
+ }
161
+
5
162
  function debounce$1(fn, wait) {
6
163
  let timeoutId;
7
164
  return (...args) => {
@@ -165,6 +322,23 @@ class Button extends Controller {
165
322
  }
166
323
  }
167
324
 
325
+ class Collapsible extends Controller {
326
+ toggle() {
327
+ if (this.isClosed) {
328
+ this.element.style.maxHeight = "none";
329
+ this.element.style.overflow = "visible";
330
+ this.element.classList.remove("Polaris-Collapsible--isFullyClosed");
331
+ } else {
332
+ this.element.style.maxHeight = "0px";
333
+ this.element.style.overflow = "hidden";
334
+ this.element.classList.add("Polaris-Collapsible--isFullyClosed");
335
+ }
336
+ }
337
+ get isClosed() {
338
+ return this.element.classList.contains("Polaris-Collapsible--isFullyClosed");
339
+ }
340
+ }
341
+
168
342
  const dragEvents = [ "dragover", "dragenter", "drop" ];
169
343
 
170
344
  const SIZES = {
@@ -285,6 +459,7 @@ class Dropzone extends Controller {
285
459
  onDirectUploadsEnd=() => {
286
460
  this.enable();
287
461
  this.clearFiles();
462
+ if (this.acceptedFiles.length === 0) return;
288
463
  this.loaderTarget.classList.remove("Polaris--hidden");
289
464
  };
290
465
  onDirectUploadInitialize=event => {
@@ -292,9 +467,15 @@ class Dropzone extends Controller {
292
467
  const {id: id, file: file} = detail;
293
468
  const dropzone = target.closest(".Polaris-DropZone");
294
469
  if (!dropzone) return;
295
- const content = dropzone.querySelector(`[data-file-name="${file.name}"]`);
296
- const progressBar = content.parentElement.querySelector('[data-target="progress-bar"]');
297
- progressBar.id = `direct-upload-${id}`;
470
+ if (this.acceptedFiles.length === 0) return;
471
+ if (this.sizeValue == "small") {
472
+ this.clearFiles();
473
+ this.loaderTarget.classList.remove("Polaris--hidden");
474
+ } else {
475
+ const content = dropzone.querySelector(`[data-file-name="${file.name}"]`);
476
+ const progressBar = content.parentElement.querySelector('[data-target="progress-bar"]');
477
+ progressBar.id = `direct-upload-${id}`;
478
+ }
298
479
  };
299
480
  onDirectUploadStart=event => {
300
481
  const {id: id} = event.detail;
@@ -547,163 +728,6 @@ function isChangeEvent(event) {
547
728
  return event.type === "change";
548
729
  }
549
730
 
550
- const alpineNames = {
551
- enterFromClass: "enter",
552
- enterActiveClass: "enterStart",
553
- enterToClass: "enterEnd",
554
- leaveFromClass: "leave",
555
- leaveActiveClass: "leaveStart",
556
- leaveToClass: "leaveEnd"
557
- };
558
-
559
- const defaultOptions = {
560
- transitioned: false,
561
- hiddenClass: "hidden",
562
- preserveOriginalClass: true,
563
- removeToClasses: true
564
- };
565
-
566
- const useTransition = (controller, options = {}) => {
567
- var _a, _b, _c;
568
- const targetName = controller.element.dataset.transitionTarget;
569
- let targetFromAttribute;
570
- if (targetName) {
571
- targetFromAttribute = controller[`${targetName}Target`];
572
- }
573
- const targetElement = (options === null || options === void 0 ? void 0 : options.element) || targetFromAttribute || controller.element;
574
- if (!(targetElement instanceof HTMLElement || targetElement instanceof SVGElement)) return;
575
- const dataset = targetElement.dataset;
576
- const leaveAfter = parseInt(dataset.leaveAfter || "") || options.leaveAfter || 0;
577
- const {transitioned: transitioned, hiddenClass: hiddenClass, preserveOriginalClass: preserveOriginalClass, removeToClasses: removeToClasses} = Object.assign(defaultOptions, options);
578
- const controllerEnter = (_a = controller.enter) === null || _a === void 0 ? void 0 : _a.bind(controller);
579
- const controllerLeave = (_b = controller.leave) === null || _b === void 0 ? void 0 : _b.bind(controller);
580
- const controllerToggleTransition = (_c = controller.toggleTransition) === null || _c === void 0 ? void 0 : _c.bind(controller);
581
- async function enter(event) {
582
- if (controller.transitioned) return;
583
- controller.transitioned = true;
584
- controllerEnter && controllerEnter(event);
585
- const enterFromClasses = getAttribute("enterFrom", options, dataset);
586
- const enterActiveClasses = getAttribute("enterActive", options, dataset);
587
- const enterToClasses = getAttribute("enterTo", options, dataset);
588
- const leaveToClasses = getAttribute("leaveTo", options, dataset);
589
- if (!!hiddenClass) {
590
- targetElement.classList.remove(hiddenClass);
591
- }
592
- if (!removeToClasses) {
593
- removeClasses(targetElement, leaveToClasses);
594
- }
595
- await transition(targetElement, enterFromClasses, enterActiveClasses, enterToClasses, hiddenClass, preserveOriginalClass, removeToClasses);
596
- if (leaveAfter > 0) {
597
- setTimeout((() => {
598
- leave(event);
599
- }), leaveAfter);
600
- }
601
- }
602
- async function leave(event) {
603
- if (!controller.transitioned) return;
604
- controller.transitioned = false;
605
- controllerLeave && controllerLeave(event);
606
- const leaveFromClasses = getAttribute("leaveFrom", options, dataset);
607
- const leaveActiveClasses = getAttribute("leaveActive", options, dataset);
608
- const leaveToClasses = getAttribute("leaveTo", options, dataset);
609
- const enterToClasses = getAttribute("enterTo", options, dataset);
610
- if (!removeToClasses) {
611
- removeClasses(targetElement, enterToClasses);
612
- }
613
- await transition(targetElement, leaveFromClasses, leaveActiveClasses, leaveToClasses, hiddenClass, preserveOriginalClass, removeToClasses);
614
- if (!!hiddenClass) {
615
- targetElement.classList.add(hiddenClass);
616
- }
617
- }
618
- function toggleTransition(event) {
619
- controllerToggleTransition && controllerToggleTransition(event);
620
- if (controller.transitioned) {
621
- leave();
622
- } else {
623
- enter();
624
- }
625
- }
626
- async function transition(element, initialClasses, activeClasses, endClasses, hiddenClass, preserveOriginalClass, removeEndClasses) {
627
- const stashedClasses = [];
628
- if (preserveOriginalClass) {
629
- initialClasses.forEach((cls => element.classList.contains(cls) && cls !== hiddenClass && stashedClasses.push(cls)));
630
- activeClasses.forEach((cls => element.classList.contains(cls) && cls !== hiddenClass && stashedClasses.push(cls)));
631
- endClasses.forEach((cls => element.classList.contains(cls) && cls !== hiddenClass && stashedClasses.push(cls)));
632
- }
633
- addClasses(element, initialClasses);
634
- removeClasses(element, stashedClasses);
635
- addClasses(element, activeClasses);
636
- await nextAnimationFrame();
637
- removeClasses(element, initialClasses);
638
- addClasses(element, endClasses);
639
- await afterTransition(element);
640
- removeClasses(element, activeClasses);
641
- if (removeEndClasses) {
642
- removeClasses(element, endClasses);
643
- }
644
- addClasses(element, stashedClasses);
645
- }
646
- function initialState() {
647
- controller.transitioned = transitioned;
648
- if (transitioned) {
649
- if (!!hiddenClass) {
650
- targetElement.classList.remove(hiddenClass);
651
- }
652
- enter();
653
- } else {
654
- if (!!hiddenClass) {
655
- targetElement.classList.add(hiddenClass);
656
- }
657
- leave();
658
- }
659
- }
660
- function addClasses(element, classes) {
661
- if (classes.length > 0) {
662
- element.classList.add(...classes);
663
- }
664
- }
665
- function removeClasses(element, classes) {
666
- if (classes.length > 0) {
667
- element.classList.remove(...classes);
668
- }
669
- }
670
- initialState();
671
- Object.assign(controller, {
672
- enter: enter,
673
- leave: leave,
674
- toggleTransition: toggleTransition
675
- });
676
- return [ enter, leave, toggleTransition ];
677
- };
678
-
679
- function getAttribute(name, options, dataset) {
680
- const datasetName = `transition${name[0].toUpperCase()}${name.substr(1)}`;
681
- const datasetAlpineName = alpineNames[name];
682
- const classes = options[name] || dataset[datasetName] || dataset[datasetAlpineName] || " ";
683
- return isEmpty(classes) ? [] : classes.split(" ");
684
- }
685
-
686
- async function afterTransition(element) {
687
- return new Promise((resolve => {
688
- const duration = Number(getComputedStyle(element).transitionDuration.split(",")[0].replace("s", "")) * 1e3;
689
- setTimeout((() => {
690
- resolve(duration);
691
- }), duration);
692
- }));
693
- }
694
-
695
- async function nextAnimationFrame() {
696
- return new Promise((resolve => {
697
- requestAnimationFrame((() => {
698
- requestAnimationFrame(resolve);
699
- }));
700
- }));
701
- }
702
-
703
- function isEmpty(str) {
704
- return str.length === 0 || !str.trim();
705
- }
706
-
707
731
  class Frame extends Controller {
708
732
  static targets=[ "navigationOverlay", "navigation", "saveBar" ];
709
733
  connect() {
@@ -803,6 +827,9 @@ class Polaris extends Controller {
803
827
  showToast() {
804
828
  this.findElement("toast").show();
805
829
  }
830
+ toggleCollapsible() {
831
+ this.findElement("collapsible").toggle();
832
+ }
806
833
  findElement(type) {
807
834
  const targetId = this.element.dataset.target.replace("#", "");
808
835
  const target = document.getElementById(targetId);
@@ -2465,8 +2492,9 @@ class Toast extends Controller {
2465
2492
  this.element.removeEventListener("transitionend", this.updatePositions, false);
2466
2493
  };
2467
2494
  getStyle(position) {
2468
- const translateIn = -80 * position;
2469
- const translateOut = 150 - 80 * position;
2495
+ const height = this.element.offsetHeight + this.heightOffset;
2496
+ const translateIn = height * -1;
2497
+ const translateOut = 150 - height;
2470
2498
  return `--toast-translate-y-in: ${translateIn}px; --toast-translate-y-out: ${translateOut}px;`;
2471
2499
  }
2472
2500
  get timeoutDuration() {
@@ -2487,11 +2515,15 @@ class Toast extends Controller {
2487
2515
  get position() {
2488
2516
  return this.visibleToasts.filter((el => !this.element.isEqualNode(el))).length + 1;
2489
2517
  }
2518
+ get heightOffset() {
2519
+ return this.visibleToasts.filter((el => !this.element.isEqualNode(el) && this.element.dataset.position > el.dataset.position)).map((el => el.offsetHeight)).reduce(((a, b) => a + b), 0);
2520
+ }
2490
2521
  }
2491
2522
 
2492
2523
  function registerPolarisControllers(application) {
2493
2524
  application.register("polaris-autocomplete", Autocomplete);
2494
2525
  application.register("polaris-button", Button);
2526
+ application.register("polaris-collapsible", Collapsible);
2495
2527
  application.register("polaris-dropzone", Dropzone);
2496
2528
  application.register("polaris-frame", Frame);
2497
2529
  application.register("polaris-modal", Modal);
@@ -137,5 +137,9 @@ a.Polaris-Tag__Button {
137
137
  align-items: center;
138
138
  text-align: center;
139
139
  justify-content: center;
140
+
141
+ .Polaris-Spinner--sizeSmall {
142
+ height: 20px;
143
+ }
140
144
  }
141
145
  }
@@ -1,5 +1,5 @@
1
1
  @charset "UTF-8";
2
- :root { --polaris-version-number: '7.5.0'; --polaris-animation-skeleton-shimmer: polaris-SkeletonShimmerAnimation; }
2
+ :root { --polaris-version-number: '7.6.0'; --polaris-animation-skeleton-shimmer: polaris-SkeletonShimmerAnimation; }
3
3
  html, body { font-size: 1.5rem; font-weight: 400; line-height: 2rem; text-transform: initial; letter-spacing: initial; font-weight: 400; color: var(--p-text); }
4
4
  @media (min-width: 40em) { html, body { font-size: 1.4rem; } }
5
5
  html, body, button { font-family: -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif; }
@@ -92,7 +92,7 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
92
92
  .Polaris-Badge--sizeSmall { font-size: 1.2rem; }
93
93
  .Polaris-Badge--statusSuccess { --p-component-badge-pip-color: var(--p-icon-success); background-color: var(--p-surface-success); color: var(--p-text); }
94
94
  .Polaris-Badge--statusInfo { --p-component-badge-pip-color: var(--p-icon-highlight); background-color: var(--p-surface-highlight); color: var(--p-text); }
95
- .Polaris-Badge--statusAttention { --p-component-badge-pip-color: var(--p-text-warning); background-color: var(--p-surface-warning); color: var(--p-text); }
95
+ .Polaris-Badge--statusAttention { --p-component-badge-pip-color: rgb(138, 97, 22); background-color: #ffea8a; color: var(--p-text); }
96
96
  .Polaris-Badge--statusWarning { --p-component-badge-pip-color: var(--p-icon-warning); background-color: var(--p-surface-warning); color: var(--p-text); }
97
97
  .Polaris-Badge--statusCritical { --p-component-badge-pip-color: var(--p-icon-critical); background-color: var(--p-surface-critical); color: var(--p-text); }
98
98
  .Polaris-Badge--statusNew { background-color: var(--p-surface-neutral); color: var(--p-text); font-weight: 500; border: none; }
@@ -105,14 +105,15 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
105
105
  .Polaris-Badge--withinFilter { border-radius: var(--p-border-radius-base); }
106
106
  .Polaris-TextStyle--variationPositive { color: var(--p-text-success); }
107
107
  .Polaris-TextStyle--variationNegative { color: var(--p-text-critical); }
108
+ .Polaris-TextStyle--variationWarning { color: var(--p-text-warning); }
108
109
  .Polaris-TextStyle--variationCode { position: relative; padding: 0 0.4rem; border-radius: 0.3rem; background-color: var(--p-surface-subdued); display: inline-block; font-size: 1.15em; box-shadow: inset 0 0 0 0.1rem var(--p-border-subdued); }
109
110
  .Polaris-TextStyle--variationCode::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0.1rem solid transparent; pointer-events: none; }
110
111
  .Polaris-TextStyle--variationStrong { font-weight: 600; }
111
112
  .Polaris-TextStyle--variationSubdued { color: var(--p-text-subdued); }
112
113
  @media print { .Polaris-TextStyle--variationSubdued { color: var(--p-text-subdued); } }
113
- .Polaris-ActionList { list-style: none; margin: 0; padding: 0; }
114
+ .Polaris-ActionList { outline: none; list-style: none; margin: 0; padding: 0; }
114
115
  .Polaris-ActionList__Section--withoutTitle:not(:first-child) { border-top: 0.1rem solid var(--p-divider); }
115
- .Polaris-ActionList__Actions { list-style: none; margin: 0; border-top: 0.1rem solid var(--p-divider); padding: 0.8rem; }
116
+ .Polaris-ActionList__Actions { outline: none; list-style: none; margin: 0; border-top: 0.1rem solid var(--p-divider); padding: 0.8rem; }
116
117
  .Polaris-ActionList > .Polaris-ActionList__Section--withoutTitle .Polaris-ActionList__Actions, .Polaris-ActionList__Section:first-child > .Polaris-ActionList__Section--withoutTitle .Polaris-ActionList__Actions { border-top: none; }
117
118
  .Polaris-ActionList__Title { font-size: 1.3rem; font-weight: 600; line-height: 1.6rem; text-transform: uppercase; padding: 0.4rem 1.6rem 1.2rem 1.6rem; }
118
119
  @media (min-width: 40em) { .Polaris-ActionList__Title { font-size: 1.2rem; } }
@@ -481,6 +482,7 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
481
482
  .Polaris-TextField__ClearButton:focus { outline: none; }
482
483
  .Polaris-TextField__ClearButton:focus:enabled::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
483
484
  .Polaris-TextField__ClearButton:disabled { cursor: default; }
485
+ .Polaris-TextField__Hidden { visibility: hidden; }
484
486
  .Polaris-TextField__Spinner { --p-text-field-spinner-offset-large: calc(var(--p-text-field-spinner-offset) + 0.1rem); z-index: 20; margin: var(--p-text-field-spinner-offset-large); color: var(--p-icon); display: flex; align-self: stretch; flex-direction: column; width: 2.2rem; cursor: pointer; }
485
487
  .Polaris-TextField__SpinnerIcon { height: 1.2rem; width: 1.2rem; }
486
488
  .Polaris-TextField__Resizer { position: absolute; bottom: 0; left: 0; right: 0; height: 0; visibility: hidden; overflow: hidden; }
@@ -538,16 +540,18 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
538
540
  .Polaris-Listbox-TextOption { margin: 0.4rem 0.8rem 0; flex: 1 1; border-radius: var(--p-border-radius-base); padding: 0.8rem 0.8rem; cursor: pointer; display: flex; position: relative; }
539
541
  .Polaris-Listbox-TextOption::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
540
542
  .Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--allowMultiple { margin: 0.4rem 0.8rem 0; padding: 0.4rem 0.8rem; }
541
- .Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--isAction { padding: 0; margin-top: 0; }
543
+ .Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--isAction { margin-top: 0; padding: 0.8rem 0.8rem; }
542
544
  .Polaris-Listbox-TextOption:hover { background-color: var(--p-surface-hovered); }
543
545
  .Polaris-Listbox-TextOption:focus { outline: none; }
544
546
  .Polaris-Listbox-TextOption:active { background-color: var(--p-surface-pressed); }
545
547
  .Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--disabled { background-color: var(--p-surface-disabled); color: var(--p-text-disabled); cursor: default; }
546
548
  .Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--selected { background-color: var(--p-surface-selected); }
547
549
  .Polaris-Listbox-TextOption.Polaris-Listbox-TextOption--selected::before { content: ''; position: absolute; top: 0; bottom: 0; left: -0.4rem; height: 100%; width: var(--p-border-radius-base); background-color: var(--p-interactive); border-top-right-radius: var(--p-border-radius-base); border-bottom-right-radius: var(--p-border-radius-base); transform: translateX(-100%); }
550
+ li:first-of-type > .Polaris-Listbox-TextOption { margin-top: 0; }
548
551
  [data-focused] .Polaris-Listbox-TextOption { outline: none; background-color: var(--p-surface-selected); }
549
552
  [data-focused]:not(:focus) .Polaris-Listbox-TextOption::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
550
553
  .Polaris-Listbox-TextOption__Content { flex: 1 1 auto; display: flex; }
554
+ .Polaris-Listbox-TextOption__Checkbox { pointer-events: none; }
551
555
  .Polaris-Listbox-Option { display: flex; margin: 0; padding: 0; }
552
556
  .Polaris-Listbox-Option:focus { outline: none; }
553
557
  .Polaris-Listbox-Option--divider { border-bottom: 0.1rem solid var(--p-divider); }
@@ -556,6 +560,7 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
556
560
  .Polaris-Listbox-Header { font-size: 1.3rem; font-weight: 600; line-height: 1.6rem; text-transform: uppercase; padding: 0.8rem 1.6rem; color: var(--p-text-subdued); }
557
561
  @media (min-width: 40em) { .Polaris-Listbox-Header { font-size: 1.2rem; } }
558
562
  .Polaris-Listbox-Action { display: flex; flex: 1 1; }
563
+ .Polaris-Listbox-Action__ActionDivider { margin-bottom: 0.4rem; }
559
564
  .Polaris-Listbox-Action__Icon { padding-right: 0.8rem; }
560
565
  .Polaris-Listbox { padding: 0; margin: 0; list-style: none; max-width: 100%; }
561
566
  .Polaris-Listbox:focus { outline: none; }
@@ -567,7 +572,7 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
567
572
  .Polaris-Autocomplete-MappedAction__ActionContainer { margin-bottom: 1.2rem; }
568
573
  [data-focused] .Polaris-Autocomplete-MappedAction__Action svg { fill: var(--p-interactive); }
569
574
  [data-focused] .Polaris-Autocomplete-MappedAction__Action.Polaris-Autocomplete-MappedAction--destructive { background-color: var(--p-surface-critical-subdued-pressed); }
570
- .Polaris-Autocomplete-MappedAction__Action { position: relative; display: block; width: 100%; min-height: 4rem; text-align: left; cursor: pointer; padding: 1rem 0.8rem; border-radius: var(--p-border-radius-base); border-top: 0.1rem solid var(--p-surface); }
575
+ .Polaris-Autocomplete-MappedAction__Action { position: relative; display: block; width: 100%; min-height: 4rem; text-align: left; cursor: pointer; }
571
576
  .Polaris-Autocomplete-MappedAction__Action::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
572
577
  .Polaris-Autocomplete-MappedAction__Action:hover { background-color: var(--p-surface-hovered); text-decoration: none; }
573
578
  @media (-ms-high-contrast: active) { .Polaris-Autocomplete-MappedAction__Action:hover { outline: 0.1rem solid windowText; } }
@@ -894,24 +899,11 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
894
899
  .Polaris-DropZone-FileUpload--large { padding: 3.2rem; }
895
900
  .Polaris-DropZone-FileUpload--small { padding: 1.25rem; }
896
901
  .Polaris-DropZone-FileUpload img { vertical-align: bottom; }
897
- .Polaris-DropZone-FileUpload__Button { position: relative; position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 3.6rem; min-width: 3.6rem; margin: 0; padding: 0.7rem 1.6rem; background: var(--p-surface); box-shadow: var(--p-button-drop-shadow); border-radius: var(--p-border-radius-base); color: var(--p-text); border: 0.1rem solid var(--p-border-neutral-subdued); border-top-color: var(--p-border-subdued); border-bottom-color: var(--p-border-shadow-subdued); line-height: 1; text-align: center; cursor: pointer; -webkit-user-select: none; user-select: none; text-decoration: none; -webkit-tap-highlight-color: transparent; position: relative; }
898
- .Polaris-DropZone-FileUpload__Button svg { fill: var(--p-icon); }
899
- .Polaris-DropZone-FileUpload__Button::after { content: ''; position: absolute; z-index: 1; top: -0.2rem; right: -0.2rem; bottom: -0.2rem; left: -0.2rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.2rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
900
- .Polaris-DropZone-FileUpload__Button:hover { background: var(--p-action-secondary-hovered); outline: 0.1rem solid transparent; }
901
- .Polaris-DropZone-FileUpload__Button:focus { box-shadow: var(--p-button-drop-shadow); outline: 0; }
902
- .Polaris-DropZone-FileUpload__Button:focus::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
903
- .Polaris-DropZone-FileUpload__Button:active { background: var(--p-action-secondary-pressed); box-shadow: var(--p-button-drop-shadow); }
904
- .Polaris-DropZone-FileUpload__Button:active::after { border: none; box-shadow: none; }
905
- .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--pressed { background: var(--p-action-secondary-depressed); box-shadow: var(--p-button-pressed-inner-shadow); color: var(--p-text-on-primary); border-color: var(--p-border-depressed); }
906
- .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--pressed svg { fill: currentColor; }
907
- @media (-ms-high-contrast: active) { .Polaris-DropZone-FileUpload__Button { border: 0.1rem solid windowText; } }
908
- .Polaris-DropZone-FileUpload__Button::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
909
- .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--disabled { transition: none; box-shadow: none; border-color: var(--p-border-disabled); background: var(--p-surface-disabled); color: var(--p-text-disabled); cursor: not-allowed; box-shadow: none; }
910
- .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--disabled svg { fill: var(--p-icon-disabled); }
911
- .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--focused { outline: 0; box-shadow: none; }
912
- .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--focused::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
913
- @media (-ms-high-contrast: active) { .Polaris-DropZone-FileUpload__Button.Polaris-DropZone-FileUpload--focused { outline: 0.2rem dotted; } }
914
- .Polaris-DropZone-FileUpload__Button .Polaris-DropZone-FileUpload--sizeSlim { min-height: 3rem; padding: 0.4rem 1.2rem; }
902
+ .Polaris-DropZone-FileUpload__Action { position: relative; display: inline-flex; flex: 0 0 auto; border: none; border-radius: var(--p-border-radius-base); padding: 0.4rem 0.6rem; margin: 0; text-decoration: none; color: var(--p-interactive-hovered); background: var(--p-surface-selected-pressed); font-size: 1.2rem; font-weight: 600; line-height: 1; cursor: pointer; text-align: center; -webkit-appearance: none; appearance: none; }
903
+ .Polaris-DropZone-FileUpload__Action::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
904
+ .Polaris-DropZone-FileUpload__Action:hover { color: var(--p-interactive-pressed); }
905
+ .Polaris-DropZone-FileUpload__Action.Polaris-DropZone-FileUpload--disabled { transition: none; box-shadow: none; border-color: var(--p-border-disabled); background: var(--p-surface-disabled); color: var(--p-text-disabled); cursor: not-allowed; box-shadow: none; }
906
+ .Polaris-DropZone-FileUpload__Action.Polaris-DropZone-FileUpload--disabled svg { fill: var(--p-icon-disabled); }
915
907
  .Polaris-DropZone-FileUpload__ActionTitle { color: var(--p-interactive); text-decoration: none; }
916
908
  .Polaris-DropZone-FileUpload__ActionTitle:not(.Polaris-DropZone-FileUpload__ActionTitle--disabled) { cursor: pointer; }
917
909
  .Polaris-DropZone-FileUpload__ActionTitle:not(.Polaris-DropZone-FileUpload__ActionTitle--disabled):hover, .Polaris-DropZone-FileUpload__ActionTitle:not(.Polaris-DropZone-FileUpload__ActionTitle--disabled):active { color: var(--p-interactive-pressed); text-decoration: underline; }
@@ -922,14 +914,14 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
922
914
  .Polaris-DropZone:not(.Polaris-DropZone--focused)::after { top: 0; left: 0; right: 0; bottom: 0; opacity: 1; transform: scale(1); border: 0.1rem dashed transparent; }
923
915
  .Polaris-DropZone:hover { outline: 0.1rem solid transparent; }
924
916
  .Polaris-DropZone--hasOutline { padding: 0.1rem; }
925
- .Polaris-DropZone--hasOutline::after { border-color: var(--p-border); }
926
- .Polaris-DropZone--hasOutline:not(.Polaris-DropZone--isDisabled):hover { cursor: pointer; background-color: var(--p-surface-selected-hovered); }
917
+ .Polaris-DropZone--hasOutline::after { border-color: var(--p-border-neutral-subdued); }
918
+ .Polaris-DropZone--hasOutline:not(.Polaris-DropZone--isDisabled):hover { cursor: pointer; background-color: var(--p-surface-subdued); }
927
919
  .Polaris-DropZone--hasOutline:not(.Polaris-DropZone--isDisabled):hover::after { border-color: var(--p-interactive-hovered); }
928
- .Polaris-DropZone--hasOutline:not(.Polaris-DropZone--focused)::after { top: 0; left: 0; right: 0; bottom: 0; opacity: 1; transform: scale(1); border: 0.1rem dashed transparent; border-radius: calc(var(--p-border-radius-base) + 0.2rem); border-color: var(--p-border); }
920
+ .Polaris-DropZone--hasOutline:not(.Polaris-DropZone--focused)::after { top: 0; left: 0; right: 0; bottom: 0; opacity: 1; transform: scale(1); border: 0.1rem dashed transparent; border-radius: calc(var(--p-border-radius-base) + 0.2rem); border-color: var(--p-border-neutral-subdued); }
929
921
  .Polaris-DropZone--isDragging:not(.Polaris-DropZone--isDisabled) { background-color: var(--p-surface-hovered); }
930
922
  .Polaris-DropZone--isDisabled { cursor: not-allowed; }
931
923
  .Polaris-DropZone--isDisabled::after { border-color: var(--p-border-disabled); }
932
- .Polaris-DropZone--sizeLarge { min-height: 10rem; }
924
+ .Polaris-DropZone--sizeLarge { min-height: 12rem; }
933
925
  .Polaris-DropZone--sizeMedium { min-height: 10rem; align-items: center; }
934
926
  .Polaris-DropZone--sizeSmall { padding: 0; align-items: center; min-height: 5rem; }
935
927
  .Polaris-DropZone--measuring { visibility: hidden; min-height: 0; }
@@ -985,25 +977,35 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
985
977
  .Polaris-Tag { display: inline-flex; max-width: 100%; align-items: center; min-height: 2.8rem; padding: 0 0.8rem; background-color: var(--p-surface-neutral); border-radius: var(--p-border-radius-base); color: var(--p-text); outline: 0.1rem solid transparent; }
986
978
  .Polaris-Tag.Polaris-Tag--disabled { transition: none; background: var(--p-surface-neutral-disabled); color: var(--p-text-disabled); }
987
979
  .Polaris-Tag.Polaris-Tag--disabled svg { fill: var(--p-icon-disabled); }
988
- .Polaris-Tag.Polaris-Tag--removable { padding-right: 0; }
989
980
  .Polaris-Tag.Polaris-Tag--clickable { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; background: none; border: none; font-size: inherit; line-height: inherit; color: inherit; cursor: pointer; cursor: pointer; padding: 0 0.8rem; background-color: var(--p-surface-neutral); position: relative; }
990
981
  .Polaris-Tag.Polaris-Tag--clickable:focus { outline: none; }
991
982
  .Polaris-Tag.Polaris-Tag--clickable:hover { background: var(--p-surface-neutral-hovered); }
992
983
  .Polaris-Tag.Polaris-Tag--clickable::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
993
984
  .Polaris-Tag.Polaris-Tag--clickable:focus:not(:active)::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
994
985
  .Polaris-Tag.Polaris-Tag--clickable:active { background: var(--p-surface-neutral-pressed); }
995
- .Polaris-Tag.Polaris-Tag--clickable:disabled { background: var(--p-surface-neutral-disabled); cursor: default; pointer-events: none; }
986
+ .Polaris-Tag.Polaris-Tag--clickable:disabled { background: var(--p-surface-neutral-disabled); cursor: default; pointer-events: none; color: var(--p-text-disabled); }
987
+ .Polaris-Tag.Polaris-Tag--removable { padding-right: 0; }
988
+ .Polaris-Tag.Polaris-Tag--linkable { padding: 0; }
996
989
  .Polaris-Tag__TagText { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; }
997
- .Polaris-Tag__Button { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; background: none; border: none; font-size: inherit; line-height: inherit; color: inherit; cursor: pointer; display: block; height: 2.8rem; width: 2.8rem; margin-left: 0.4rem; border-radius: 0 0.3rem 0.3rem 0; position: relative; }
990
+ .Polaris-Tag__Button { -webkit-appearance: none; appearance: none; margin: 0; padding: 0; background: none; border: none; font-size: inherit; line-height: inherit; color: inherit; cursor: pointer; display: block; flex-shrink: 0; height: 2.8rem; width: 2.8rem; margin-left: 0.4rem; border-radius: 0 0.3rem 0.3rem 0; position: relative; }
998
991
  .Polaris-Tag__Button svg { fill: var(--p-icon); }
999
992
  .Polaris-Tag__Button:focus { outline: none; }
1000
993
  .Polaris-Tag__Button:hover { background: var(--p-surface-neutral-hovered); outline: 0.1rem solid transparent; }
1001
- .Polaris-Tag__Button:focus { background-color: transparent; }
1002
994
  .Polaris-Tag__Button::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
1003
995
  .Polaris-Tag__Button:focus:not(:active)::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
1004
996
  .Polaris-Tag__Button:active { background: var(--p-surface-neutral-pressed); }
1005
997
  .Polaris-Tag__Button:disabled { cursor: default; pointer-events: none; }
1006
998
  .Polaris-Tag__Button:disabled svg { fill: var(--p-icon-disabled); }
999
+ .Polaris-Tag__Button.Polaris-Tag--segmented { margin-left: -0.4rem; }
1000
+ .Polaris-Tag__Button.Polaris-Tag--segmented::after { border-top-left-radius: 0; border-bottom-left-radius: 0; }
1001
+ .Polaris-Tag__Link { display: inline-grid; color: var(--p-text); outline: none; border-radius: var(--p-border-radius-base); text-decoration: none; padding: 0.4rem 0.8rem; position: relative; }
1002
+ .Polaris-Tag__Link .Polaris-Tag__LinkText { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
1003
+ .Polaris-Tag__Link::after { content: ''; position: absolute; z-index: 1; top: -0.1rem; right: -0.1rem; bottom: -0.1rem; left: -0.1rem; display: block; pointer-events: none; box-shadow: 0 0 0 -0.1rem var(--p-focused); transition: box-shadow 100ms var(--p-ease); border-radius: calc(var(--p-border-radius-base) + 0.1rem); }
1004
+ .Polaris-Tag__Link:focus:not(:active) { text-decoration: underline; }
1005
+ .Polaris-Tag__Link:focus:not(:active)::after { box-shadow: 0 0 0 0.2rem var(--p-focused); outline: 0.1rem solid transparent; }
1006
+ .Polaris-Tag__Link:hover { background: var(--p-surface-neutral-hovered); text-decoration: underline; }
1007
+ .Polaris-Tag__Link.Polaris-Tag--segmented { border-top-right-radius: 0; border-bottom-right-radius: 0; }
1008
+ .Polaris-Tag__Link.Polaris-Tag--segmented::after { margin-right: 0.4rem; border-top-right-radius: 0; border-bottom-right-radius: 0; }
1007
1009
  .Polaris-Sheet { position: fixed; bottom: 0; width: 100%; height: 100%; background-color: var(--p-surface); box-shadow: var(--p-modal-shadow); }
1008
1010
  @media screen and (-ms-high-contrast: active) { .Polaris-Sheet { border-left: 0.1rem solid var(--p-border-subdued); } }
1009
1011
  @media (min-width: 48.0625em) { .Polaris-Sheet { right: 0; width: 38rem; } }
@@ -1537,6 +1539,9 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
1537
1539
  .Polaris-OptionList-Option--disabled .Polaris-OptionList-Option__Media svg { fill: var(--p-icon-disabled); }
1538
1540
  .Polaris-OptionList-Option__Media { padding: 0 0.8rem; }
1539
1541
  .Polaris-OptionList-Option__Media svg { fill: var(--p-icon); }
1542
+ .Polaris-OptionList-Option--verticalAlignTop { align-items: flex-start; }
1543
+ .Polaris-OptionList-Option--verticalAlignCenter { align-items: center; }
1544
+ .Polaris-OptionList-Option--verticalAlignBottom { align-items: flex-end; }
1540
1545
  .Polaris-OptionList { margin: 0; padding: 0; list-style: none; padding: 0.8rem; }
1541
1546
  .Polaris-OptionList__Options { margin: 0; padding: 0; list-style: none; }
1542
1547
  .Polaris-OptionList__Title { font-size: 1.3rem; font-weight: 600; line-height: 1.6rem; text-transform: uppercase; padding: 0.8rem; color: var(--p-text-subdued); }
@@ -1592,7 +1597,7 @@ button::-moz-focus-inner, [type='button']::-moz-focus-inner, [type='reset']::-mo
1592
1597
  @media (min-width: 30.625em) { .Polaris-Page-Header--mobileView .Polaris-Page-Header__ActionMenuWrapper { right: -0.8rem; } }
1593
1598
  .Polaris-Page-Header--mobileView.Polaris-Page-Header--hasNavigation .Polaris-Page-Header__ActionMenuWrapper { top: 1.8rem; }
1594
1599
  @media print { .Polaris-Page-Header__ActionMenuWrapper { display: none !important; } }
1595
- .Polaris-Page-Header__Row { display: flex; justify-content: space-between; }
1600
+ .Polaris-Page-Header__Row { display: flex; justify-content: space-between; min-height: 3.6rem; }
1596
1601
  .Polaris-Page-Header__Row + .Polaris-Page-Header__Row { margin-top: 0.4rem; }
1597
1602
  .Polaris-Page-Header--mobileView .Polaris-Page-Header__Row + .Polaris-Page-Header__Row { margin-top: 0.8rem; }
1598
1603
  .Polaris-Page-Header__Row + .Polaris-Page-Header__Row .Polaris-Page-Header__RightAlign { margin-left: 0; }
@@ -2338,3 +2343,6 @@ a.Polaris-Tag__Button {
2338
2343
  text-align: center;
2339
2344
  justify-content: center;
2340
2345
  }
2346
+ .Polaris-DropZone__Loader .Polaris-Spinner--sizeSmall {
2347
+ height: 20px;
2348
+ }