@qoretechnologies/reqraft 0.10.37-pr.96.g6818945 → 0.10.37-pr.96.gdcd72eb

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qoretechnologies/reqraft",
3
- "version": "0.10.37-pr.96.g6818945",
3
+ "version": "0.10.37-pr.96.gdcd72eb",
4
4
  "description": "ReQraft is a collection of React components and hooks that are used across Qore Technologies' products made using the ReQore component library from Qore.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -193,9 +193,7 @@ export const Basic: Story = {
193
193
  play: async ({ canvasElement, args }) => {
194
194
  const canvas = within(canvasElement);
195
195
 
196
- // The whole-token template value renders as the picker chip with the
197
- // resolved catalogue label — never as raw `$local:test` text in an input.
198
- await waitFor(() => expect(canvas.getAllByText('Test (local)')[0]).toBeInTheDocument(), {
196
+ await waitFor(() => expect(canvas.getAllByDisplayValue('$local:test')[0]).toBeInTheDocument(), {
199
197
  timeout: 10000,
200
198
  });
201
199
  await waitFor(
@@ -416,16 +416,9 @@ export const ArgsChangeWhenOperatorChanges: Story = {
416
416
  },
417
417
  },
418
418
  play: async () => {
419
- // Of the seeded `contains` string operands, the whole-token `$local:input`
420
- // renders as a template chip; only the literal 'es' keeps a textarea.
419
+ // Both string operands of the seeded `contains` render as textareas.
421
420
  await waitFor(
422
- () => {
423
- expect(document.querySelectorAll('.expression .reqore-textarea')).toHaveLength(1);
424
- const chip = Array.from(document.querySelectorAll('.expression .reqore-button')).find(
425
- (button) => button.textContent?.includes('$local:input')
426
- );
427
- expect(chip).toBeTruthy();
428
- },
421
+ () => expect(document.querySelectorAll('.expression .reqore-textarea')).toHaveLength(2),
429
422
  { timeout: 10000 }
430
423
  );
431
424