@symbo.ls/create 2.11.484 → 2.11.486

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,136 @@ 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
+
15425
+ // ../uikit/Notification/index.js
15426
+ var Notification, NotificationIndicator;
15427
+ var init_Notification = __esm({
15428
+ "../uikit/Notification/index.js"() {
15429
+ "use strict";
15430
+ Notification = {
15431
+ extend: "Flex",
15432
+ props: {
15433
+ theme: "alert",
15434
+ padding: "Z1 B Z A",
15435
+ round: "A A A Y2",
15436
+ gap: "X2",
15437
+ cursor: "pointer",
15438
+ align: "flex-start center"
15439
+ },
15440
+ IconText: {
15441
+ icon: "info outline"
15442
+ },
15443
+ Flex: {
15444
+ flow: "column",
15445
+ align: "flex-start",
15446
+ gap: "X2",
15447
+ Title: {
15448
+ tag: "h6",
15449
+ margin: "0",
15450
+ fontWeight: "600",
15451
+ lineHeight: "1em",
15452
+ text: "Notification"
15453
+ },
15454
+ P: {
15455
+ fontSize: "Z",
15456
+ margin: "0",
15457
+ text: "is not always a distraction",
15458
+ ":empty": { hide: true }
15459
+ }
15460
+ }
15461
+ };
15462
+ NotificationIndicator = {
15463
+ extend: "Flex",
15464
+ props: {
15465
+ text: "2",
15466
+ fontSize: "Z",
15467
+ lineHeight: "1em",
15468
+ background: "#0474F2",
15469
+ boxSize: "fit-content fit-content",
15470
+ padding: "X+W",
15471
+ round: "Y+X"
15472
+ }
15473
+ };
15474
+ }
15475
+ });
15476
+
15347
15477
  // ../uikit/index.js
15348
15478
  var uikit_exports = {};
15349
15479
  __export(uikit_exports, {
@@ -15368,6 +15498,8 @@ __export(uikit_exports, {
15368
15498
  DialogHeader: () => DialogHeader,
15369
15499
  Direction: () => Direction,
15370
15500
  Div: () => Div,
15501
+ DropdownList: () => DropdownList,
15502
+ DropdownParent: () => DropdownParent,
15371
15503
  FileIcon: () => FileIcon,
15372
15504
  Flex: () => Flex,
15373
15505
  Focusable: () => Focusable,
@@ -15398,6 +15530,8 @@ __export(uikit_exports, {
15398
15530
  Li: () => Li,
15399
15531
  Link: () => Link,
15400
15532
  Media: () => Media,
15533
+ Notification: () => Notification,
15534
+ NotificationIndicator: () => NotificationIndicator,
15401
15535
  NumberInput: () => NumberInput,
15402
15536
  Ol: () => Ol,
15403
15537
  Overflow: () => Overflow,
@@ -15451,6 +15585,8 @@ var init_uikit = __esm({
15451
15585
  init_Tooltip();
15452
15586
  init_Avatar();
15453
15587
  init_Range();
15588
+ init_Dropdown();
15589
+ init_Notification();
15454
15590
  }
15455
15591
  });
15456
15592
 
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.486",
4
4
  "license": "MIT",
5
- "gitHead": "8b1e8fb4387591a6aa1e3fd5afeadc077d0f4df8",
5
+ "gitHead": "cbd242b88ae69bd23402b1d005a0003a0e90ce88",
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.486",
41
+ "@symbo.ls/uikit": "^2.11.486",
42
42
  "@symbo.ls/utils": "^2.11.475",
43
43
  "domql": "^2.5.158"
44
44
  },