@launchpad-ui/drawer 0.5.13 → 0.5.15

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/dist/index.es.js CHANGED
@@ -11,15 +11,15 @@ import { cx } from "classix";
11
11
  import { LazyMotion, m } from "framer-motion";
12
12
  import { useRef, useState, useEffect, Suspense } from "react";
13
13
  const DRAWER_LABELLED_BY = "drawer-title";
14
- const closeButton = "sj_sSW_closeButton_";
15
- const content = "sj_sSW_content_";
16
- const drawer = "sj_sSW_drawer_";
17
- const full = "sj_sSW_full_";
18
- const large = "sj_sSW_large_";
19
- const medium = "sj_sSW_medium_";
20
- const overlay$1 = "sj_sSW_overlay_";
21
- const small = "sj_sSW_small_";
22
- const xLarge = "sj_sSW_xLarge_";
14
+ const closeButton = "sj_sSW_closeButton";
15
+ const content = "sj_sSW_content";
16
+ const drawer = "sj_sSW_drawer";
17
+ const full = "sj_sSW_full";
18
+ const large = "sj_sSW_large";
19
+ const medium = "sj_sSW_medium";
20
+ const overlay$1 = "sj_sSW_overlay";
21
+ const small = "sj_sSW_small";
22
+ const xLarge = "sj_sSW_xLarge";
23
23
  const styles = {
24
24
  closeButton,
25
25
  content,
package/dist/index.js CHANGED
@@ -35,15 +35,15 @@ const classix = require("classix");
35
35
  const framerMotion = require("framer-motion");
36
36
  const react = require("react");
37
37
  const DRAWER_LABELLED_BY = "drawer-title";
38
- const closeButton = "sj_sSW_closeButton_";
39
- const content = "sj_sSW_content_";
40
- const drawer = "sj_sSW_drawer_";
41
- const full = "sj_sSW_full_";
42
- const large = "sj_sSW_large_";
43
- const medium = "sj_sSW_medium_";
44
- const overlay$1 = "sj_sSW_overlay_";
45
- const small = "sj_sSW_small_";
46
- const xLarge = "sj_sSW_xLarge_";
38
+ const closeButton = "sj_sSW_closeButton";
39
+ const content = "sj_sSW_content";
40
+ const drawer = "sj_sSW_drawer";
41
+ const full = "sj_sSW_full";
42
+ const large = "sj_sSW_large";
43
+ const medium = "sj_sSW_medium";
44
+ const overlay$1 = "sj_sSW_overlay";
45
+ const small = "sj_sSW_small";
46
+ const xLarge = "sj_sSW_xLarge";
47
47
  const styles = {
48
48
  closeButton,
49
49
  content,
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- :root,[data-theme=default]{--lp-component-drawer-color-bg-overlay:#28282880}[data-theme=dark]{--lp-component-drawer-color-bg-overlay:#191919bf}.sj_sSW_drawer_{--page-gutter-width:.625rem;z-index:var(--lp-z-index-400);position:fixed;top:0;bottom:0;left:0;right:0;transform:translateZ(0)}@media screen and (min-width:740px){.sj_sSW_drawer_{--page-gutter-width:2.5rem}}.has-overlay{overflow:hidden}.sj_sSW_overlay_{background-color:var(--lp-component-drawer-color-bg-overlay);position:fixed;top:0;bottom:0;left:0;right:0}.sj_sSW_content_{background-color:var(--lp-color-bg-ui-primary);color:var(--lp-color-text-ui-secondary);box-shadow:-1px 0 4px var(--lp-color-shadow-ui-primary);width:100vw;max-width:100vw;position:absolute;top:0;bottom:0;right:0;overflow:auto}@media screen and (min-width:740px){.sj_sSW_small_ .sj_sSW_content_{width:28.125rem}.sj_sSW_medium_ .sj_sSW_content_{width:40.625rem}.sj_sSW_large_ .sj_sSW_content_{width:50rem}.sj_sSW_xLarge_ .sj_sSW_content_{width:75rem}.sj_sSW_full_ .sj_sSW_content_{max-width:unset;width:100%}}.sj_sSW_content_ section{padding:2rem var(--page-gutter-width)}.sj_sSW_content_ section+section{border-top:1px dotted var(--lp-color-gray-100)}.sj_sSW_closeButton_{position:absolute;top:.625rem;right:.625rem}
1
+ :root,[data-theme=default]{--lp-component-drawer-color-bg-overlay:#28282880}[data-theme=dark]{--lp-component-drawer-color-bg-overlay:#191919bf}.sj_sSW_drawer{--page-gutter-width:.625rem;z-index:var(--lp-z-index-400);position:fixed;top:0;bottom:0;left:0;right:0;transform:translateZ(0)}@media screen and (min-width:740px){.sj_sSW_drawer{--page-gutter-width:2.5rem}}.has-overlay{overflow:hidden}.sj_sSW_overlay{background-color:var(--lp-component-drawer-color-bg-overlay);position:fixed;top:0;bottom:0;left:0;right:0}.sj_sSW_content{background-color:var(--lp-color-bg-ui-primary);color:var(--lp-color-text-ui-secondary);box-shadow:-1px 0 4px var(--lp-color-shadow-ui-primary);width:100vw;max-width:100vw;position:absolute;top:0;bottom:0;right:0;overflow:auto}@media screen and (min-width:740px){.sj_sSW_small .sj_sSW_content{width:28.125rem}.sj_sSW_medium .sj_sSW_content{width:40.625rem}.sj_sSW_large .sj_sSW_content{width:50rem}.sj_sSW_xLarge .sj_sSW_content{width:75rem}.sj_sSW_full .sj_sSW_content{max-width:unset;width:100%}}.sj_sSW_content section{padding:2rem var(--page-gutter-width)}.sj_sSW_content section+section{border-top:1px dotted var(--lp-color-gray-100)}.sj_sSW_closeButton{position:absolute;top:.625rem;right:.625rem}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchpad-ui/drawer",
3
- "version": "0.5.13",
3
+ "version": "0.5.15",
4
4
  "status": "alpha",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -30,12 +30,12 @@
30
30
  "@react-aria/overlays": "3.20.0",
31
31
  "classix": "2.1.17",
32
32
  "framer-motion": "10.18.0",
33
- "@launchpad-ui/button": "~0.11.11",
33
+ "@launchpad-ui/button": "~0.12.0",
34
34
  "@launchpad-ui/focus-trap": "~0.1.15",
35
- "@launchpad-ui/icons": "~0.15.0",
35
+ "@launchpad-ui/icons": "~0.16.0",
36
36
  "@launchpad-ui/portal": "~0.1.4",
37
- "@launchpad-ui/progress": "~0.5.37",
38
- "@launchpad-ui/tokens": "~0.9.3"
37
+ "@launchpad-ui/progress": "~0.5.38",
38
+ "@launchpad-ui/tokens": "~0.9.4"
39
39
  },
40
40
  "peerDependencies": {
41
41
  "react": "18.2.0",