@teambit/compositions 1.0.994 → 1.0.996
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/composition.section.tsx +4 -1
- package/compositions.module.scss +63 -27
- package/compositions.tsx +178 -55
- package/compositions.ui.runtime.tsx +38 -6
- package/dist/composition.section.d.ts +3 -2
- package/dist/composition.section.js +3 -1
- package/dist/composition.section.js.map +1 -1
- package/dist/compositions.d.ts +9 -2
- package/dist/compositions.js +135 -56
- package/dist/compositions.js.map +1 -1
- package/dist/compositions.module.scss +63 -27
- package/dist/compositions.ui.runtime.d.ts +17 -5
- package/dist/compositions.ui.runtime.js +24 -5
- package/dist/compositions.ui.runtime.js.map +1 -1
- package/dist/{preview-1779298653501.js → preview-1779737067779.js} +2 -2
- package/dist/ui/compositions-panel/compositions-panel.d.ts +4 -1
- package/dist/ui/compositions-panel/compositions-panel.js +19 -2
- package/dist/ui/compositions-panel/compositions-panel.js.map +1 -1
- package/dist/ui/compositions-panel/compositions-panel.module.scss +13 -0
- package/dist/ui/compositions-panel/live-control-input.module.scss +6 -7
- package/dist/ui/compositions-panel/overlay.module.scss +4 -0
- package/package.json +20 -20
- package/ui/compositions-panel/compositions-panel.module.scss +13 -0
- package/ui/compositions-panel/compositions-panel.tsx +29 -0
- package/ui/compositions-panel/live-control-input.module.scss +6 -7
- package/ui/compositions-panel/overlay.module.scss +4 -0
|
@@ -53,13 +53,12 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
.toggleControl {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
width: 100%;
|
|
56
|
+
// Let the Toggle keep its native dimensions. The component sizes its
|
|
57
|
+
// knob travel in `em`, so stretching the wrapper width without scaling
|
|
58
|
+
// the font-size leaves the knob short of the right edge in the "on"
|
|
59
|
+
// state.
|
|
60
|
+
display: inline-flex;
|
|
61
|
+
flex: 0 0 auto;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
.rangeWrapper {
|
|
@@ -10,6 +10,10 @@
|
|
|
10
10
|
box-shadow:
|
|
11
11
|
0 4px 16px rgba(0, 0, 0, 0.08),
|
|
12
12
|
0 1px 3px rgba(0, 0, 0, 0.06);
|
|
13
|
+
// Portaled into <body>, outside the BaseTheme wrapper that carries the
|
|
14
|
+
// app font. Set the family here so descendants (MenuItems, color swatches,
|
|
15
|
+
// etc.) inherit it via the global `font: inherit` reset.
|
|
16
|
+
font-family: 'CircularXX', 'Gill Sans', 'Gill Sans MT', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
|
13
17
|
}
|
|
14
18
|
|
|
15
19
|
.suppressNativeMenu {
|