@emuanalytics/flow-rdf-ui 0.0.31 → 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.31";
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.31";
23361
+ const version = "0.0.33";
23362
23362
 
23363
23363
  const CONSOLE_HIGHLIGHT_STYLE = `
23364
23364
  padding: 2px 4px;
@@ -34,34 +34,6 @@
34
34
  ],
35
35
  "references": []
36
36
  },
37
- {
38
- "name": "flow-ui-badge",
39
- "description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
40
- "attributes": [
41
- {
42
- "name": "variant",
43
- "description": "The badge's theme variant.",
44
- "values": [
45
- { "name": "primary" },
46
- { "name": "success" },
47
- { "name": "neutral" },
48
- { "name": "warning" },
49
- { "name": "danger" }
50
- ]
51
- },
52
- {
53
- "name": "pill",
54
- "description": "Draws a pill-style badge with rounded edges.",
55
- "values": []
56
- },
57
- {
58
- "name": "pulse",
59
- "description": "Makes the badge pulsate to draw attention.",
60
- "values": []
61
- }
62
- ],
63
- "references": []
64
- },
65
37
  {
66
38
  "name": "flow-ui-avatar",
67
39
  "description": "Avatars are used to represent a person or object.\n\n\n---\n\n\n\n\n### **Slots:**\n - **icon** - The default icon to use when no image or initials are present. Works best with `<flow-ui-icon>`.\n\n### **CSS Properties:**\n - **--size** - The size of the avatar. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon** - The container that wraps the avatar's icon.\n- **initials** - The container that wraps the avatar's initials.\n- **image** - The avatar image. Only shown when the `image` attribute is set.",
@@ -99,39 +71,40 @@
99
71
  "references": []
100
72
  },
101
73
  {
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.",
74
+ "name": "flow-ui-badge",
75
+ "description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
104
76
  "attributes": [
105
77
  {
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.",
78
+ "name": "variant",
79
+ "description": "The badge's theme variant.",
80
+ "values": [
81
+ { "name": "primary" },
82
+ { "name": "success" },
83
+ { "name": "neutral" },
84
+ { "name": "warning" },
85
+ { "name": "danger" }
86
+ ]
87
+ },
88
+ {
89
+ "name": "pill",
90
+ "description": "Draws a pill-style badge with rounded edges.",
91
+ "values": []
92
+ },
93
+ {
94
+ "name": "pulse",
95
+ "description": "Makes the badge pulsate to draw attention.",
108
96
  "values": []
109
97
  }
110
98
  ],
111
99
  "references": []
112
100
  },
113
101
  {
114
- "name": "flow-ui-breadcrumb-item",
115
- "description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
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.",
116
104
  "attributes": [
117
105
  {
118
- "name": "href",
119
- "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
120
- "values": []
121
- },
122
- {
123
- "name": "target",
124
- "description": "Tells the browser where to open the link. Only used when `href` is set.",
125
- "values": [
126
- { "name": "_blank" },
127
- { "name": "_parent" },
128
- { "name": "_self" },
129
- { "name": "_top" }
130
- ]
131
- },
132
- {
133
- "name": "rel",
134
- "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
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.",
135
108
  "values": []
136
109
  }
137
110
  ],
@@ -282,6 +255,33 @@
282
255
  ],
283
256
  "references": []
284
257
  },
258
+ {
259
+ "name": "flow-ui-breadcrumb-item",
260
+ "description": "Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The breadcrumb item's label.\n- **prefix** - An optional prefix, usually an icon or icon button.\n- **suffix** - An optional suffix, usually an icon or icon button.\n- **separator** - The separator to use for the breadcrumb item. This will only change the separator for this item. If you want to change it for all items in the group, set the separator on `<flow-ui-breadcrumb>` instead.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **label** - The breadcrumb item's label.\n- **prefix** - The container that wraps the prefix.\n- **suffix** - The container that wraps the suffix.\n- **separator** - The container that wraps the separator.",
261
+ "attributes": [
262
+ {
263
+ "name": "href",
264
+ "description": "Optional URL to direct the user to when the breadcrumb item is activated. When set, a link will be rendered\ninternally. When unset, a button will be rendered instead.",
265
+ "values": []
266
+ },
267
+ {
268
+ "name": "target",
269
+ "description": "Tells the browser where to open the link. Only used when `href` is set.",
270
+ "values": [
271
+ { "name": "_blank" },
272
+ { "name": "_parent" },
273
+ { "name": "_self" },
274
+ { "name": "_top" }
275
+ ]
276
+ },
277
+ {
278
+ "name": "rel",
279
+ "description": "The `rel` attribute to use on the link. Only used when `href` is set.",
280
+ "values": []
281
+ }
282
+ ],
283
+ "references": []
284
+ },
285
285
  {
286
286
  "name": "flow-ui-button-group",
287
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.",
@@ -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.31",
3
+ "version": "0.0.33",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",