@velocity-astro/cms-ui 0.1.0-beta.5 → 0.1.0-beta.7

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 (65) hide show
  1. package/component-registry.json +2 -2
  2. package/dist/components/Grid/Grid.variants.d.ts +1 -0
  3. package/dist/components/Grid/Grid.variants.d.ts.map +1 -1
  4. package/dist/components/Grid/Grid.variants.js +4 -3
  5. package/dist/components/Grid/Grid.variants.js.map +1 -1
  6. package/dist/components/Segmented/Segmented.d.ts +9 -1
  7. package/dist/components/Segmented/Segmented.d.ts.map +1 -1
  8. package/dist/components/Segmented/Segmented.js +8 -5
  9. package/dist/components/Segmented/Segmented.js.map +1 -1
  10. package/dist/components/Segmented/Segmented.variants.d.ts +7 -0
  11. package/dist/components/Segmented/Segmented.variants.d.ts.map +1 -1
  12. package/dist/components/Segmented/Segmented.variants.js +9 -1
  13. package/dist/components/Segmented/Segmented.variants.js.map +1 -1
  14. package/dist/components/Table/Table.variants.d.ts.map +1 -1
  15. package/dist/components/Table/Table.variants.js +2 -1
  16. package/dist/components/Table/Table.variants.js.map +1 -1
  17. package/dist/components/scales.d.ts +2 -2
  18. package/dist/components/scales.d.ts.map +1 -1
  19. package/dist/components/scales.js +4 -2
  20. package/dist/components/scales.js.map +1 -1
  21. package/dist/patterns/AppShell/AppShell.d.ts +3 -1
  22. package/dist/patterns/AppShell/AppShell.d.ts.map +1 -1
  23. package/dist/patterns/AppShell/AppShell.js +14 -6
  24. package/dist/patterns/AppShell/AppShell.js.map +1 -1
  25. package/dist/patterns/AppShell/AppShell.variants.d.ts +17 -3
  26. package/dist/patterns/AppShell/AppShell.variants.d.ts.map +1 -1
  27. package/dist/patterns/AppShell/AppShell.variants.js +20 -3
  28. package/dist/patterns/AppShell/AppShell.variants.js.map +1 -1
  29. package/dist/patterns/ImagePicker/ImagePicker.d.ts +9 -1
  30. package/dist/patterns/ImagePicker/ImagePicker.d.ts.map +1 -1
  31. package/dist/patterns/ImagePicker/ImagePicker.js +13 -8
  32. package/dist/patterns/ImagePicker/ImagePicker.js.map +1 -1
  33. package/dist/patterns/OptionPicker/OptionPicker.d.ts +2 -0
  34. package/dist/patterns/OptionPicker/OptionPicker.d.ts.map +1 -1
  35. package/dist/patterns/OptionPicker/OptionPicker.js +8 -3
  36. package/dist/patterns/OptionPicker/OptionPicker.js.map +1 -1
  37. package/dist/patterns/OptionPicker/OptionPicker.variants.d.ts +10 -4
  38. package/dist/patterns/OptionPicker/OptionPicker.variants.d.ts.map +1 -1
  39. package/dist/patterns/OptionPicker/OptionPicker.variants.js +29 -6
  40. package/dist/patterns/OptionPicker/OptionPicker.variants.js.map +1 -1
  41. package/dist/patterns/PageHeader/PageHeader.variants.d.ts +3 -2
  42. package/dist/patterns/PageHeader/PageHeader.variants.d.ts.map +1 -1
  43. package/dist/patterns/PageHeader/PageHeader.variants.js +3 -2
  44. package/dist/patterns/PageHeader/PageHeader.variants.js.map +1 -1
  45. package/dist/patterns/PagePreview/PagePreview.d.ts +113 -2
  46. package/dist/patterns/PagePreview/PagePreview.d.ts.map +1 -1
  47. package/dist/patterns/PagePreview/PagePreview.js +127 -11
  48. package/dist/patterns/PagePreview/PagePreview.js.map +1 -1
  49. package/dist/patterns/PagePreview/PagePreview.variants.d.ts +11 -1
  50. package/dist/patterns/PagePreview/PagePreview.variants.d.ts.map +1 -1
  51. package/dist/patterns/PagePreview/PagePreview.variants.js +17 -5
  52. package/dist/patterns/PagePreview/PagePreview.variants.js.map +1 -1
  53. package/dist/patterns/PagePreview/index.d.ts +1 -1
  54. package/dist/patterns/PagePreview/index.d.ts.map +1 -1
  55. package/dist/patterns/PagePreview/index.js.map +1 -1
  56. package/dist/patterns/SaveBar/SaveBar.variants.d.ts +3 -2
  57. package/dist/patterns/SaveBar/SaveBar.variants.d.ts.map +1 -1
  58. package/dist/patterns/SaveBar/SaveBar.variants.js +5 -4
  59. package/dist/patterns/SaveBar/SaveBar.variants.js.map +1 -1
  60. package/dist/patterns/Workbench/Workbench.variants.d.ts +1 -1
  61. package/dist/patterns/Workbench/Workbench.variants.d.ts.map +1 -1
  62. package/dist/patterns/Workbench/Workbench.variants.js +2 -2
  63. package/dist/patterns/Workbench/Workbench.variants.js.map +1 -1
  64. package/package.json +1 -1
  65. package/src/styles.css +20 -0
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/PagePreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAyB,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/patterns/PagePreview/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAuH,MAAM,kBAAkB,CAAC"}
@@ -1,12 +1,13 @@
1
1
  /** On a screen the bar stays at the top of the screen's panel. Across a whole window it is the window's top edge. */
2
+ /** The buttons go under the title when the window has no room for them beside it, and never off its edge. */
2
3
  export declare const saveBarVariants: (props?: ({
3
4
  across?: "screen" | "window" | null | undefined;
4
5
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5
6
  export declare const saveBarBackClass: string;
6
- export declare const saveBarHeadingClass = "flex min-w-0 flex-1 flex-col gap-0.5";
7
+ export declare const saveBarHeadingClass = "flex min-w-0 flex-1 basis-48 flex-col gap-0.5";
7
8
  export declare const saveBarTitleClass = "truncate text-lg font-semibold text-foreground";
8
9
  export declare const saveBarStatusClass = "flex min-w-0 items-center gap-2";
9
- export declare const saveBarActionsClass = "flex shrink-0 items-center gap-2";
10
+ export declare const saveBarActionsClass = "flex max-w-full shrink-0 flex-wrap items-center gap-2";
10
11
  /** The size of the arrow on the way back, in pixels. */
11
12
  export declare const saveBarBackIconSize = 16;
12
13
  //# sourceMappingURL=SaveBar.variants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SaveBar.variants.d.ts","sourceRoot":"","sources":["../../../src/patterns/SaveBar/SaveBar.variants.ts"],"names":[],"mappings":"AAEA,qHAAqH;AACrH,eAAO,MAAM,eAAe;;8EAQ1B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAIlB,CAAC;AAEZ,eAAO,MAAM,mBAAmB,yCAAyC,CAAC;AAC1E,eAAO,MAAM,iBAAiB,mDAAmD,CAAC;AAClF,eAAO,MAAM,kBAAkB,oCAAoC,CAAC;AACpE,eAAO,MAAM,mBAAmB,qCAAqC,CAAC;AAEtE,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,KAAK,CAAC"}
1
+ {"version":3,"file":"SaveBar.variants.d.ts","sourceRoot":"","sources":["../../../src/patterns/SaveBar/SaveBar.variants.ts"],"names":[],"mappings":"AAEA,qHAAqH;AACrH,6GAA6G;AAC7G,eAAO,MAAM,eAAe;;8EAQ1B,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAIlB,CAAC;AAEZ,eAAO,MAAM,mBAAmB,kDAAkD,CAAC;AACnF,eAAO,MAAM,iBAAiB,mDAAmD,CAAC;AAClF,eAAO,MAAM,kBAAkB,oCAAoC,CAAC;AACpE,eAAO,MAAM,mBAAmB,0DAA0D,CAAC;AAE3F,wDAAwD;AACxD,eAAO,MAAM,mBAAmB,KAAK,CAAC"}
@@ -1,9 +1,10 @@
1
1
  import { cva } from 'class-variance-authority';
2
2
  /** On a screen the bar stays at the top of the screen's panel. Across a whole window it is the window's top edge. */
3
- export const saveBarVariants = cva('flex flex-wrap items-center gap-4 border-b border-border bg-background py-3', {
3
+ /** The buttons go under the title when the window has no room for them beside it, and never off its edge. */
4
+ export const saveBarVariants = cva('flex flex-wrap items-center gap-x-4 gap-y-2 border-b border-border bg-background py-3', {
4
5
  variants: {
5
6
  across: {
6
- screen: 'sticky top-0 layer-sticky rounded-t-2xl px-6',
7
+ screen: 'sticky top-0 layer-sticky px-4 md:rounded-t-2xl md:px-6',
7
8
  window: 'shrink-0 px-4',
8
9
  },
9
10
  },
@@ -14,10 +15,10 @@ export const saveBarBackClass = [
14
15
  'transition-colors motion-fast',
15
16
  'outline-none data-hovered:bg-background-secondary data-focus-visible:ring-2 data-focus-visible:ring-ring',
16
17
  ].join(' ');
17
- export const saveBarHeadingClass = 'flex min-w-0 flex-1 flex-col gap-0.5';
18
+ export const saveBarHeadingClass = 'flex min-w-0 flex-1 basis-48 flex-col gap-0.5';
18
19
  export const saveBarTitleClass = 'truncate text-lg font-semibold text-foreground';
19
20
  export const saveBarStatusClass = 'flex min-w-0 items-center gap-2';
20
- export const saveBarActionsClass = 'flex shrink-0 items-center gap-2';
21
+ export const saveBarActionsClass = 'flex max-w-full shrink-0 flex-wrap items-center gap-2';
21
22
  /** The size of the arrow on the way back, in pixels. */
22
23
  export const saveBarBackIconSize = 16;
23
24
  //# sourceMappingURL=SaveBar.variants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SaveBar.variants.js","sourceRoot":"","sources":["../../../src/patterns/SaveBar/SaveBar.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,qHAAqH;AACrH,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC,6EAA6E,EAAE;IAChH,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,MAAM,EAAE,8CAA8C;YACtD,MAAM,EAAE,eAAe;SACxB;KACF;IACD,eAAe,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,kJAAkJ;IAClJ,+BAA+B;IAC/B,0GAA0G;CAC3G,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,mBAAmB,GAAG,sCAAsC,CAAC;AAC1E,MAAM,CAAC,MAAM,iBAAiB,GAAG,gDAAgD,CAAC;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,kCAAkC,CAAC;AAEtE,wDAAwD;AACxD,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC"}
1
+ {"version":3,"file":"SaveBar.variants.js","sourceRoot":"","sources":["../../../src/patterns/SaveBar/SaveBar.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,qHAAqH;AACrH,6GAA6G;AAC7G,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC,uFAAuF,EAAE;IAC1H,QAAQ,EAAE;QACR,MAAM,EAAE;YACN,MAAM,EAAE,yDAAyD;YACjE,MAAM,EAAE,eAAe;SACxB;KACF;IACD,eAAe,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACtC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,kJAAkJ;IAClJ,+BAA+B;IAC/B,0GAA0G;CAC3G,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC,MAAM,mBAAmB,GAAG,+CAA+C,CAAC;AACnF,MAAM,CAAC,MAAM,iBAAiB,GAAG,gDAAgD,CAAC;AAClF,MAAM,CAAC,MAAM,kBAAkB,GAAG,iCAAiC,CAAC;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,uDAAuD,CAAC;AAE3F,wDAAwD;AACxD,MAAM,CAAC,MAAM,mBAAmB,GAAG,EAAE,CAAC"}
@@ -7,7 +7,7 @@ export declare const workbenchVariants: (props?: ({
7
7
  export declare const workbenchBodyVariants: (props?: ({
8
8
  view?: "beside" | "whole" | null | undefined;
9
9
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
10
- /** Whole, the form is a panel at the side that scrolls by itself, and slides away to leave the pane the window. */
10
+ /** Whole, the form is a panel at the side that scrolls by itself, and slides away to leave the pane the window. On a phone it is as wide as the window, so away it is simply gone. */
11
11
  export declare const workbenchFormVariants: (props?: ({
12
12
  view?: "beside" | "whole" | null | undefined;
13
13
  isAway?: boolean | null | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Workbench.variants.d.ts","sourceRoot":"","sources":["../../../src/patterns/Workbench/Workbench.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,uHAAuH;AACvH,eAAO,MAAM,iBAAiB;;8EAQ5B,CAAC;AAEH,uHAAuH;AACvH,eAAO,MAAM,qBAAqB;;8EAQhC,CAAC;AAEH,mHAAmH;AACnH,eAAO,MAAM,qBAAqB;;;8EAUhC,CAAC;AAEH,+FAA+F;AAC/F,eAAO,MAAM,qBAAqB;;8EAQhC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
1
+ {"version":3,"file":"Workbench.variants.d.ts","sourceRoot":"","sources":["../../../src/patterns/Workbench/Workbench.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAElE,uHAAuH;AACvH,eAAO,MAAM,iBAAiB;;8EAQ5B,CAAC;AAEH,uHAAuH;AACvH,eAAO,MAAM,qBAAqB;;8EAQhC,CAAC;AAEH,sLAAsL;AACtL,eAAO,MAAM,qBAAqB;;;8EAUhC,CAAC;AAEH,+FAA+F;AAC/F,eAAO,MAAM,qBAAqB;;8EAQhC,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,CAAC"}
@@ -19,7 +19,7 @@ export const workbenchBodyVariants = cva('flex', {
19
19
  },
20
20
  defaultVariants: { view: 'beside' },
21
21
  });
22
- /** Whole, the form is a panel at the side that scrolls by itself, and slides away to leave the pane the window. */
22
+ /** Whole, the form is a panel at the side that scrolls by itself, and slides away to leave the pane the window. On a phone it is as wide as the window, so away it is simply gone. */
23
23
  export const workbenchFormVariants = cva('flex min-w-0 flex-col gap-6', {
24
24
  variants: {
25
25
  view: {
@@ -28,7 +28,7 @@ export const workbenchFormVariants = cva('flex min-w-0 flex-col gap-6', {
28
28
  },
29
29
  isAway: { true: '', false: '' },
30
30
  },
31
- compoundVariants: [{ view: 'whole', isAway: true, class: '-ml-128 invisible' }],
31
+ compoundVariants: [{ view: 'whole', isAway: true, class: 'invisible max-md:hidden md:-ml-128' }],
32
32
  defaultVariants: { view: 'beside', isAway: false },
33
33
  });
34
34
  /** Beside the form, the pane stays in view while the form scrolls under the bar at the top. */
@@ -1 +1 @@
1
- {"version":3,"file":"Workbench.variants.js","sourceRoot":"","sources":["../../../src/patterns/Workbench/Workbench.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAElE,uHAAuH;AACvH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAC,EAAE,EAAE;IACvC,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,mEAAmE;SAC3E;KACF;IACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,uHAAuH;AACvH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,MAAM,EAAE;IAC/C,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,kDAAkD;YAC1D,KAAK,EAAE,gBAAgB;SACxB;KACF;IACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,mHAAmH;AACnH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,6BAA6B,EAAE;IACtE,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,qBAAqB;YAC7B,KAAK,EAAE,6GAA6G;SACrH;QACD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;KAChC;IACD,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC/E,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;CACnD,CAAC,CAAC;AAEH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,SAAS,EAAE;IAClD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,yCAAyC;YACjD,KAAK,EAAE,gBAAgB;SACxB;KACF;IACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACpC,CAAC,CAAC"}
1
+ {"version":3,"file":"Workbench.variants.js","sourceRoot":"","sources":["../../../src/patterns/Workbench/Workbench.variants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAqB,MAAM,0BAA0B,CAAC;AAElE,uHAAuH;AACvH,MAAM,CAAC,MAAM,iBAAiB,GAAG,GAAG,CAAC,EAAE,EAAE;IACvC,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,mEAAmE;SAC3E;KACF;IACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,uHAAuH;AACvH,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,MAAM,EAAE;IAC/C,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,kDAAkD;YAC1D,KAAK,EAAE,gBAAgB;SACxB;KACF;IACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACpC,CAAC,CAAC;AAEH,sLAAsL;AACtL,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,6BAA6B,EAAE;IACtE,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,qBAAqB;YAC7B,KAAK,EAAE,6GAA6G;SACrH;QACD,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE;KAChC;IACD,gBAAgB,EAAE,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,oCAAoC,EAAE,CAAC;IAChG,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;CACnD,CAAC,CAAC;AAEH,+FAA+F;AAC/F,MAAM,CAAC,MAAM,qBAAqB,GAAG,GAAG,CAAC,SAAS,EAAE;IAClD,QAAQ,EAAE;QACR,IAAI,EAAE;YACJ,MAAM,EAAE,yCAAyC;YACjD,KAAK,EAAE,gBAAgB;SACxB;KACF;IACD,eAAe,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;CACpC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@velocity-astro/cms-ui",
3
- "version": "0.1.0-beta.5",
3
+ "version": "0.1.0-beta.7",
4
4
  "description": "The Velocity CMS editor's design system: tokens, components and patterns. Knows nothing about content or the API.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/styles.css CHANGED
@@ -159,6 +159,16 @@
159
159
  transform: translateX(100%);
160
160
  }
161
161
  }
162
+ @keyframes motion-sheet-start-in {
163
+ from {
164
+ transform: translateX(-100%);
165
+ }
166
+ }
167
+ @keyframes motion-sheet-start-out {
168
+ to {
169
+ transform: translateX(-100%);
170
+ }
171
+ }
162
172
  @keyframes motion-float-in {
163
173
  from {
164
174
  opacity: 0;
@@ -220,6 +230,16 @@
220
230
  forwards;
221
231
  }
222
232
  }
233
+ /* The same from the other edge: the navigation of a narrow window. */
234
+ @utility motion-sheet-start {
235
+ &[data-entering] {
236
+ animation: motion-sheet-start-in var(--motion-slower) var(--motion-ease-enter);
237
+ }
238
+ &[data-exiting] {
239
+ animation: motion-sheet-start-out var(--motion-slow) var(--motion-ease-exit)
240
+ forwards;
241
+ }
242
+ }
223
243
  /* A list, menu or tooltip beside what opened it: it comes from that side. */
224
244
  @utility motion-float {
225
245
  &[data-placement^="bottom"] {