Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
slooise1 committed Nov 2, 2023
2 parents df585e8 + 97d48a1 commit 52ac147
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 34 deletions.
7 changes: 0 additions & 7 deletions .storybook/preview-head.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,3 @@
</script> -->

<!-- tailwind, we ditch the preflight and instead use modern-normalize -->
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/modern-normalize/2.0.0/modern-normalize.min.css"
integrity="sha512-4xo8blKMVCiXpTaLzQSLSw3KFOVPWhm/TRtuPVc4WG6kUgjH6J03IBuG7JZPkcWMxJ5huwaBpOpnwYElP/m6wg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
2 changes: 1 addition & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '../src/styles.css';
import '../src/styles.bundled.css';
import type { Preview } from '@storybook/web-components';

import { setCustomElementsManifest } from '@storybook/web-components';
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
"engines": {
"node": ">=16.0.0"
},
"version": "6.4.2",
"version": "6.4.4",
"type": "module",
"main": "dist/index.js",
"exports": {
".": {
"import": "./dist/index.js"
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./context": {
"import": "./dist/context/index.js",
Expand Down
3 changes: 1 addition & 2 deletions src/styles.bundled.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@import './styles/qti-styles.css';

@config "../tailwind.config.bundled.cjs";

@import './styles/qti-styles.css';
40 changes: 20 additions & 20 deletions vscode.html-custom-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -672,15 +672,13 @@
"references": []
},
{
"name": "qti-slider-interaction",
"description": "The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.\n---\n\n\n### **Events:**\n - **qti-register-interaction** - emitted when the interaction wants to register itself\n- **qti-interaction-response** - emitted when the interaction changes\n\n### **Slots:**\n - _default_ - The default slot where <qti-simple-choice> must be placed.\n- **prompt** - slot where the prompt is placed.\n\n### **CSS Properties:**\n - **--show-value** - shows the current value while sliding _(default: undefined)_\n- **--show-ticks** - shows the ticks according to steps _(default: undefined)_\n- **--show-bounds** - shows value for lower and upper boundary _(default: undefined)_\n\n### **CSS Parts:**\n - **slider** - -- slider inluding, bounds and ticks and value, use it for paddings and margins\n- **bounds** - -- div for bounds, containing two divs for with min, and max bounds value\n- **ticks** - -- div for ticks, use lineair gradient and exposed css variables for styling\n- **rail** - -- div for rail, style according to needs\n- **knob** - -- div, should be relative or absolute\n- **value** - -- div, containing value",
"name": "qti-text-entry-interaction",
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction** - undefined\n- **qti-interaction-response** - undefined",
"attributes": [
{ "name": "value", "values": [] },
{ "name": "step-label", "values": [] },
{ "name": "reverse", "values": [] },
{ "name": "lower-bound", "values": [] },
{ "name": "upper-bound", "values": [] },
{ "name": "step", "values": [] },
{ "name": "expected-length", "values": [] },
{ "name": "pattern-mask", "values": [] },
{ "name": "placeholder-text", "values": [] },
{ "name": "class", "values": [] },
{ "name": "response-identifier", "values": [] },
{
"name": "disabled",
Expand All @@ -696,13 +694,15 @@
"references": []
},
{
"name": "qti-text-entry-interaction",
"description": "\n---\n\n\n### **Events:**\n - **qti-register-interaction** - undefined\n- **qti-interaction-response** - undefined",
"name": "qti-slider-interaction",
"description": "The SliderInteraction.Type (qti-slider-interaction) presents the candidate with a control for selecting a numerical value between a lower and upper bound.\n---\n\n\n### **Events:**\n - **qti-register-interaction** - emitted when the interaction wants to register itself\n- **qti-interaction-response** - emitted when the interaction changes\n\n### **Slots:**\n - _default_ - The default slot where <qti-simple-choice> must be placed.\n- **prompt** - slot where the prompt is placed.\n\n### **CSS Properties:**\n - **--show-value** - shows the current value while sliding _(default: undefined)_\n- **--show-ticks** - shows the ticks according to steps _(default: undefined)_\n- **--show-bounds** - shows value for lower and upper boundary _(default: undefined)_\n\n### **CSS Parts:**\n - **slider** - -- slider inluding, bounds and ticks and value, use it for paddings and margins\n- **bounds** - -- div for bounds, containing two divs for with min, and max bounds value\n- **ticks** - -- div for ticks, use lineair gradient and exposed css variables for styling\n- **rail** - -- div for rail, style according to needs\n- **knob** - -- div, should be relative or absolute\n- **value** - -- div, containing value",
"attributes": [
{ "name": "expected-length", "values": [] },
{ "name": "pattern-mask", "values": [] },
{ "name": "placeholder-text", "values": [] },
{ "name": "class", "values": [] },
{ "name": "value", "values": [] },
{ "name": "step-label", "values": [] },
{ "name": "reverse", "values": [] },
{ "name": "lower-bound", "values": [] },
{ "name": "upper-bound", "values": [] },
{ "name": "step", "values": [] },
{ "name": "response-identifier", "values": [] },
{
"name": "disabled",
Expand Down Expand Up @@ -842,12 +842,6 @@
"attributes": [],
"references": []
},
{
"name": "qti-map-response",
"description": "\n---\n",
"attributes": [{ "name": "identifier", "values": [] }],
"references": []
},
{
"name": "qti-mapping",
"description": "\n---\n",
Expand All @@ -858,6 +852,12 @@
],
"references": []
},
{
"name": "qti-map-response",
"description": "\n---\n",
"attributes": [{ "name": "identifier", "values": [] }],
"references": []
},
{
"name": "qti-match",
"description": "\n---\n",
Expand Down

0 comments on commit 52ac147

Please sign in to comment.