@symbo.ls/create 2.11.484 → 2.11.485

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.
@@ -15344,6 +15344,84 @@ var init_Range = __esm({
15344
15344
  }
15345
15345
  });
15346
15346
 
15347
+ // ../uikit/Dropdown/index.js
15348
+ var DropdownList, DropdownParent;
15349
+ var init_Dropdown = __esm({
15350
+ "../uikit/Dropdown/index.js"() {
15351
+ "use strict";
15352
+ DropdownList = {
15353
+ extend: "Flex",
15354
+ attr: {
15355
+ dropdown: true
15356
+ },
15357
+ props: {
15358
+ padding: "0 Y",
15359
+ maxHeight: "G",
15360
+ flow: "column",
15361
+ theme: "quaternary",
15362
+ overflow: "hidden auto",
15363
+ style: { listStyleType: "none" },
15364
+ transition: "B defaultBezier",
15365
+ transitionProperty: "transform, opacity, visibility",
15366
+ children: ({ props: props4 }) => props4.options || [],
15367
+ childrenAs: "props",
15368
+ ".hidden": {
15369
+ transform: "translate3d(0,10%,0)",
15370
+ opacity: 0,
15371
+ visibility: "hidden"
15372
+ }
15373
+ },
15374
+ childExtend: {
15375
+ extend: "Button",
15376
+ state: {},
15377
+ props: {
15378
+ isActive: ({ key, state }) => state.active === key,
15379
+ position: "relative",
15380
+ round: "0",
15381
+ align: "center flex-end",
15382
+ flow: "row-reverse",
15383
+ padding: "Z2 C Z2 Y2",
15384
+ margin: "0",
15385
+ gap: "Y2",
15386
+ theme: "quaternary .child",
15387
+ ":hover": {
15388
+ style: {
15389
+ svg: { opacity: "0.5" }
15390
+ }
15391
+ },
15392
+ Icon: {
15393
+ isActive: ({ key, state }) => state.active === key,
15394
+ name: "checkmark",
15395
+ opacity: "0.1",
15396
+ ".active": { opacity: "1" }
15397
+ },
15398
+ ":not(:first-child)": {
15399
+ "@dark": { border: "gray4 .65, solid" },
15400
+ "@light": { border: "gray11, solid" },
15401
+ borderWidth: "1px 0 0"
15402
+ }
15403
+ }
15404
+ }
15405
+ };
15406
+ DropdownParent = {
15407
+ props: {
15408
+ position: "relative",
15409
+ zIndex: 999,
15410
+ style: {
15411
+ "&:hover": {
15412
+ zIndex: 1e3,
15413
+ "& [dropdown]": {
15414
+ transform: "translate3d(0,0,0)",
15415
+ opacity: 1,
15416
+ visibility: "visible"
15417
+ }
15418
+ }
15419
+ }
15420
+ }
15421
+ };
15422
+ }
15423
+ });
15424
+
15347
15425
  // ../uikit/index.js
15348
15426
  var uikit_exports = {};
15349
15427
  __export(uikit_exports, {
@@ -15368,6 +15446,8 @@ __export(uikit_exports, {
15368
15446
  DialogHeader: () => DialogHeader,
15369
15447
  Direction: () => Direction,
15370
15448
  Div: () => Div,
15449
+ DropdownList: () => DropdownList,
15450
+ DropdownParent: () => DropdownParent,
15371
15451
  FileIcon: () => FileIcon,
15372
15452
  Flex: () => Flex,
15373
15453
  Focusable: () => Focusable,
@@ -15451,6 +15531,7 @@ var init_uikit = __esm({
15451
15531
  init_Tooltip();
15452
15532
  init_Avatar();
15453
15533
  init_Range();
15534
+ init_Dropdown();
15454
15535
  }
15455
15536
  });
15456
15537
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@symbo.ls/create",
3
- "version": "2.11.484",
3
+ "version": "2.11.485",
4
4
  "license": "MIT",
5
- "gitHead": "8b1e8fb4387591a6aa1e3fd5afeadc077d0f4df8",
5
+ "gitHead": "37b6b39503dbdd03ed0396c69fe7cde5a6254c04",
6
6
  "files": [
7
7
  "src",
8
8
  "dist"
@@ -37,8 +37,8 @@
37
37
  "@symbo.ls/fetch": "^2.11.475",
38
38
  "@symbo.ls/init": "^2.11.475",
39
39
  "@symbo.ls/scratch": "^2.11.475",
40
- "@symbo.ls/sync": "^2.11.484",
41
- "@symbo.ls/uikit": "^2.11.484",
40
+ "@symbo.ls/sync": "^2.11.485",
41
+ "@symbo.ls/uikit": "^2.11.485",
42
42
  "@symbo.ls/utils": "^2.11.475",
43
43
  "domql": "^2.5.158"
44
44
  },