@emuanalytics/flow-rdf-ui 0.0.32 → 0.0.33

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.cjs CHANGED
@@ -13122,7 +13122,7 @@ function transformRuleSet(ruleSet, transformFn, clone = true) {
13122
13122
  return ruleSet;
13123
13123
  }
13124
13124
  const isRule = (r) => isObjectFull(r) && "field" in r;
13125
- const isRuleSet = (r) => isObjectFull(r) && "fields" in r;
13125
+ const isRuleSet = (r) => isObjectFull(r) && "rules" in r;
13126
13126
  const isRuleOrRuleset = (r) => isRule(r) || isRuleSet(r);
13127
13127
 
13128
13128
  function whereClausesFromRuleSet(rule, config, options) {
@@ -23377,7 +23377,7 @@ const translation = {
23377
23377
  };
23378
23378
  localize.registerTranslation(translation);
23379
23379
 
23380
- const version = "0.0.32";
23380
+ const version = "0.0.33";
23381
23381
 
23382
23382
  const CONSOLE_HIGHLIGHT_STYLE = `
23383
23383
  padding: 2px 4px;
package/dist/index.mjs CHANGED
@@ -13103,7 +13103,7 @@ function transformRuleSet(ruleSet, transformFn, clone = true) {
13103
13103
  return ruleSet;
13104
13104
  }
13105
13105
  const isRule = (r) => isObjectFull(r) && "field" in r;
13106
- const isRuleSet = (r) => isObjectFull(r) && "fields" in r;
13106
+ const isRuleSet = (r) => isObjectFull(r) && "rules" in r;
13107
13107
  const isRuleOrRuleset = (r) => isRule(r) || isRuleSet(r);
13108
13108
 
13109
13109
  function whereClausesFromRuleSet(rule, config, options) {
@@ -23358,7 +23358,7 @@ const translation = {
23358
23358
  };
23359
23359
  registerTranslation(translation);
23360
23360
 
23361
- const version = "0.0.32";
23361
+ const version = "0.0.33";
23362
23362
 
23363
23363
  const CONSOLE_HIGHLIGHT_STYLE = `
23364
23364
  padding: 2px 4px;
@@ -99,13 +99,12 @@
99
99
  "references": []
100
100
  },
101
101
  {
102
- "name": "flow-ui-button-group",
103
- "description": "Button groups can be used to group related buttons into sections.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more `<flow-ui-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
102
+ "name": "flow-ui-breadcrumb",
103
+ "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
104
104
  "attributes": [
105
- { "name": "label", "values": [] },
106
105
  {
107
- "name": "vertical",
108
- "description": "Use vertical layout for the button group.",
106
+ "name": "label",
107
+ "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
109
108
  "values": []
110
109
  }
111
110
  ],
@@ -284,12 +283,13 @@
284
283
  "references": []
285
284
  },
286
285
  {
287
- "name": "flow-ui-breadcrumb",
288
- "description": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more breadcrumb items to display.\n- **separator** - The separator to use between breadcrumb items. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
286
+ "name": "flow-ui-button-group",
287
+ "description": "Button groups can be used to group related buttons into sections.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - One or more `<flow-ui-button>` elements to display in the button group.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
289
288
  "attributes": [
289
+ { "name": "label", "values": [] },
290
290
  {
291
- "name": "label",
292
- "description": "The label to use for the breadcrumb control. This will not be shown on the screen, but it will be announced by\nscreen readers and other assistive devices to provide more context for users.",
291
+ "name": "vertical",
292
+ "description": "Use vertical layout for the button group.",
293
293
  "values": []
294
294
  }
295
295
  ],
@@ -464,6 +464,69 @@
464
464
  ],
465
465
  "references": []
466
466
  },
467
+ {
468
+ "name": "flow-ui-color-mapper",
469
+ "description": "A component for defining mappings between data values and colors.\n\n\n---\n\n\n",
470
+ "attributes": [
471
+ { "name": "field", "values": [] },
472
+ { "name": "options", "values": [{ "name": "ColorMapperOptions" }] },
473
+ { "name": "value", "values": [{ "name": "ColorMapperValue" }] },
474
+ {
475
+ "name": "size",
476
+ "values": [
477
+ { "name": "small" },
478
+ { "name": "medium" },
479
+ { "name": "large" }
480
+ ]
481
+ },
482
+ { "name": "defaultColorStop", "values": [] },
483
+ {
484
+ "name": "swatches",
485
+ "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
486
+ "values": [{ "name": "string[]" }]
487
+ }
488
+ ],
489
+ "references": []
490
+ },
491
+ {
492
+ "name": "flow-ui-color-stop",
493
+ "description": "A single color stop used by the `flow-ui-color-mapper` component.\n\n\n---\n\n\n",
494
+ "attributes": [
495
+ {
496
+ "name": "name",
497
+ "description": "The name of the color stop, submitted as a name/value pair with form data.",
498
+ "values": []
499
+ },
500
+ {
501
+ "name": "form",
502
+ "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
503
+ "values": []
504
+ },
505
+ {
506
+ "name": "required",
507
+ "description": "Makes the color stop as a required field.",
508
+ "values": []
509
+ },
510
+ { "name": "options", "values": [{ "name": "ColorStopOptions" }] },
511
+ { "name": "value", "values": [{ "name": "ColorStopValue" }] },
512
+ {
513
+ "name": "size",
514
+ "values": [
515
+ { "name": "small" },
516
+ { "name": "medium" },
517
+ { "name": "large" }
518
+ ]
519
+ },
520
+ { "name": "placeholder", "values": [] },
521
+ { "name": "fixed", "values": [] },
522
+ {
523
+ "name": "swatches",
524
+ "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
525
+ "values": [{ "name": "string[]" }]
526
+ }
527
+ ],
528
+ "references": []
529
+ },
467
530
  {
468
531
  "name": "flow-ui-color-picker",
469
532
  "description": "Color pickers allow the user to select a color.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-blur** - Emitted when the color picker loses focus.\n- **flow-ui-change** - Emitted when the color picker's value changes.\n- **flow-ui-focus** - Emitted when the color picker receives focus.\n- **flow-ui-input** - Emitted when the color picker receives input.\n- **flow-ui-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the color picker.\n- **blur()** - Removes focus from the color picker.\n- **getFormattedValue(format: _'hex' | 'hexa' | 'rgb' | 'rgba' | 'hsl' | 'hsla' | 'hsv' | 'hsva'_)** - Returns the current value as a string in the specified format.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The color picker's form label. Alternatively, you can use the `label` attribute.\n\n### **CSS Properties:**\n - **--grid-width** - The width of the color grid. _(default: undefined)_\n- **--grid-height** - The height of the color grid. _(default: undefined)_\n- **--grid-handle-size** - The size of the color grid's handle. _(default: undefined)_\n- **--slider-height** - The height of the hue and alpha sliders. _(default: undefined)_\n- **--slider-handle-size** - The diameter of the slider's handle. _(default: undefined)_\n- **--swatch-size** - The size of each predefined color swatch. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The color picker's dropdown trigger.\n- **swatches** - The container that holds the swatches.\n- **swatch** - Each individual swatch.\n- **grid** - The color grid.\n- **grid-handle** - The color grid's handle.\n- **slider** - Hue and opacity sliders.\n- **slider-handle** - Hue and opacity slider handles.\n- **hue-slider** - The hue slider.\n- **hue-slider-handle** - The hue slider's handle.\n- **opacity-slider** - The opacity slider.\n- **opacity-slider-handle** - The opacity slider's handle.\n- **preview** - The preview color.\n- **input** - The text input.\n- **eye-dropper-button** - The eye dropper button.\n- **eye-dropper-button__base** - The eye dropper button's exported `button` part.\n- **eye-dropper-button__prefix** - The eye dropper button's exported `prefix` part.\n- **eye-dropper-button__label** - The eye dropper button's exported `label` part.\n- **eye-dropper-button__suffix** - The eye dropper button's exported `suffix` part.\n- **eye-dropper-button__caret** - The eye dropper button's exported `caret` part.\n- **format-button** - The format button.\n- **format-button__base** - The format button's exported `button` part.\n- **format-button__prefix** - The format button's exported `prefix` part.\n- **format-button__label** - The format button's exported `label` part.\n- **format-button__suffix** - The format button's exported `suffix` part.\n- **format-button__caret** - The format button's exported `caret` part.",
@@ -579,69 +642,6 @@
579
642
  ],
580
643
  "references": []
581
644
  },
582
- {
583
- "name": "flow-ui-color-mapper",
584
- "description": "A component for defining mappings between data values and colors.\n\n\n---\n\n\n",
585
- "attributes": [
586
- { "name": "field", "values": [] },
587
- { "name": "options", "values": [{ "name": "ColorMapperOptions" }] },
588
- { "name": "value", "values": [{ "name": "ColorMapperValue" }] },
589
- {
590
- "name": "size",
591
- "values": [
592
- { "name": "small" },
593
- { "name": "medium" },
594
- { "name": "large" }
595
- ]
596
- },
597
- { "name": "defaultColorStop", "values": [] },
598
- {
599
- "name": "swatches",
600
- "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
601
- "values": [{ "name": "string[]" }]
602
- }
603
- ],
604
- "references": []
605
- },
606
- {
607
- "name": "flow-ui-color-stop",
608
- "description": "A single color stop used by the `flow-ui-color-mapper` component.\n\n\n---\n\n\n",
609
- "attributes": [
610
- {
611
- "name": "name",
612
- "description": "The name of the color stop, submitted as a name/value pair with form data.",
613
- "values": []
614
- },
615
- {
616
- "name": "form",
617
- "description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
618
- "values": []
619
- },
620
- {
621
- "name": "required",
622
- "description": "Makes the color stop as a required field.",
623
- "values": []
624
- },
625
- { "name": "options", "values": [{ "name": "ColorStopOptions" }] },
626
- { "name": "value", "values": [{ "name": "ColorStopValue" }] },
627
- {
628
- "name": "size",
629
- "values": [
630
- { "name": "small" },
631
- { "name": "medium" },
632
- { "name": "large" }
633
- ]
634
- },
635
- { "name": "placeholder", "values": [] },
636
- { "name": "fixed", "values": [] },
637
- {
638
- "name": "swatches",
639
- "description": "One or more predefined color swatches to display as presets in the color picker. Can include any format the color\npicker can parse, including HEX(A), RGB(A), HSL(A), HSV(A), and CSS color names. Each color must be separated by a\nsemicolon (`;`). Alternatively, you can pass an array of color values to this property using JavaScript.",
640
- "values": [{ "name": "string[]" }]
641
- }
642
- ],
643
- "references": []
644
- },
645
645
  {
646
646
  "name": "flow-ui-details",
647
647
  "description": "Details show a brief summary and expand to show additional content.\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-show** - Emitted when the details opens.\n- **flow-ui-after-show** - Emitted after the details opens and all animations are complete.\n- **flow-ui-hide** - Emitted when the details closes.\n- **flow-ui-after-hide** - Emitted after the details closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the details.\n- **hide()** - Hides the details\n\n### **Slots:**\n - _default_ - The details' main content.\n- **summary** - The details' summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<flow-ui-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<flow-ui-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **content** - The details content.",
@@ -1077,6 +1077,32 @@
1077
1077
  "attributes": [],
1078
1078
  "references": []
1079
1079
  },
1080
+ {
1081
+ "name": "flow-ui-number-stepper",
1082
+ "description": "Number steppers are specialized input fields for selecting numbers.\n\n\n---\n\n\n\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.",
1083
+ "attributes": [
1084
+ {
1085
+ "name": "name",
1086
+ "description": "The name of the input, submitted as a name/value pair with form data.",
1087
+ "values": []
1088
+ },
1089
+ { "name": "value", "values": [{ "name": "''" }] },
1090
+ { "name": "step", "values": [] },
1091
+ { "name": "min", "values": [] },
1092
+ { "name": "max", "values": [] },
1093
+ { "name": "format", "values": [] },
1094
+ {
1095
+ "name": "size",
1096
+ "values": [
1097
+ { "name": "small" },
1098
+ { "name": "medium" },
1099
+ { "name": "large" }
1100
+ ]
1101
+ },
1102
+ { "name": "placeholder", "values": [] }
1103
+ ],
1104
+ "references": []
1105
+ },
1080
1106
  {
1081
1107
  "name": "flow-ui-mutation-observer",
1082
1108
  "description": "The Mutation Observer component offers a thin, declarative interface to the [`MutationObserver API`](https://developer.mozilla.org/en-US/docs/Web/API/MutationObserver).\n\n\n---\n\n\n\n\n### **Events:**\n - **flow-ui-mutation** - Emitted when a mutation occurs.\n\n### **Slots:**\n - _default_ - The content to watch for mutations.",
@@ -1114,32 +1140,6 @@
1114
1140
  ],
1115
1141
  "references": []
1116
1142
  },
1117
- {
1118
- "name": "flow-ui-number-stepper",
1119
- "description": "Number steppers are specialized input fields for selecting numbers.\n\n\n---\n\n\n\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.",
1120
- "attributes": [
1121
- {
1122
- "name": "name",
1123
- "description": "The name of the input, submitted as a name/value pair with form data.",
1124
- "values": []
1125
- },
1126
- { "name": "value", "values": [{ "name": "''" }] },
1127
- { "name": "step", "values": [] },
1128
- { "name": "min", "values": [] },
1129
- { "name": "max", "values": [] },
1130
- { "name": "format", "values": [] },
1131
- {
1132
- "name": "size",
1133
- "values": [
1134
- { "name": "small" },
1135
- { "name": "medium" },
1136
- { "name": "large" }
1137
- ]
1138
- },
1139
- { "name": "placeholder", "values": [] }
1140
- ],
1141
- "references": []
1142
- },
1143
1143
  {
1144
1144
  "name": "flow-ui-panel",
1145
1145
  "description": "Panels are use with split-views to create resizable areas.\n\n\n---\n\n\n\n\n### **Methods:**\n - **expand(emitEvent)** - Shows the details.\n- **collapse(emitEvent)** - Hides the details",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emuanalytics/flow-rdf-ui",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",