diff --git a/packages/jokul/.gitignore b/packages/jokul/.gitignore index 96aaa6cd84e..62586a9c802 100644 --- a/packages/jokul/.gitignore +++ b/packages/jokul/.gitignore @@ -1,6 +1,6 @@ dev-server.js -**/documentation/index.html -**/documentation/main.tsx +**/development/index.html +**/development/main.tsx # Byggmappe for stilark /styles/ diff --git a/packages/jokul/CONTRIBUTING.md b/packages/jokul/CONTRIBUTING.md index 9354bc4cf2d..879a471e4b5 100644 --- a/packages/jokul/CONTRIBUTING.md +++ b/packages/jokul/CONTRIBUTING.md @@ -32,7 +32,7 @@ Følg mappe- og filstruktur fra de andre komponentene. | - [navn]/ | -- [Navn].tsx | -- index.ts -| -- documentation/ +| -- development/ | --- [Navn]Example.tsx | --- Example.tsx | -- styles/ diff --git a/packages/jokul/dev-server.mjs b/packages/jokul/dev-server.mjs index 4aba4ade462..c09ce0bafec 100644 --- a/packages/jokul/dev-server.mjs +++ b/packages/jokul/dev-server.mjs @@ -51,7 +51,7 @@ export default function App() { }, [setLog, log]); useEffect(() => { - glob("**/documentation/Example.tsx").then((result) => { + glob("**/development/Example.tsx").then((result) => { setComponents( result.map((file) => { return { diff --git a/packages/jokul/src/components/accordion/documentation/AccordionExample.tsx b/packages/jokul/src/components/accordion/development/AccordionExample.tsx similarity index 100% rename from packages/jokul/src/components/accordion/documentation/AccordionExample.tsx rename to packages/jokul/src/components/accordion/development/AccordionExample.tsx diff --git a/packages/jokul/src/components/accordion/documentation/Example.tsx b/packages/jokul/src/components/accordion/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/accordion/documentation/Example.tsx rename to packages/jokul/src/components/accordion/development/Example.tsx diff --git a/packages/jokul/src/components/autosuggest/documentation/AutosuggestExample.tsx b/packages/jokul/src/components/autosuggest/development/AutosuggestExample.tsx similarity index 100% rename from packages/jokul/src/components/autosuggest/documentation/AutosuggestExample.tsx rename to packages/jokul/src/components/autosuggest/development/AutosuggestExample.tsx diff --git a/packages/jokul/src/components/autosuggest/documentation/Example.tsx b/packages/jokul/src/components/autosuggest/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/autosuggest/documentation/Example.tsx rename to packages/jokul/src/components/autosuggest/development/Example.tsx diff --git a/packages/jokul/src/components/breadcrumb/documentation/BreadcrumbExample.tsx b/packages/jokul/src/components/breadcrumb/development/BreadcrumbExample.tsx similarity index 100% rename from packages/jokul/src/components/breadcrumb/documentation/BreadcrumbExample.tsx rename to packages/jokul/src/components/breadcrumb/development/BreadcrumbExample.tsx diff --git a/packages/jokul/src/components/breadcrumb/documentation/Example.tsx b/packages/jokul/src/components/breadcrumb/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/breadcrumb/documentation/Example.tsx rename to packages/jokul/src/components/breadcrumb/development/Example.tsx diff --git a/packages/jokul/src/components/button/documentation/AnchorsExample.tsx b/packages/jokul/src/components/button/development/AnchorsExample.tsx similarity index 100% rename from packages/jokul/src/components/button/documentation/AnchorsExample.tsx rename to packages/jokul/src/components/button/development/AnchorsExample.tsx diff --git a/packages/jokul/src/components/button/documentation/ButtonExample.tsx b/packages/jokul/src/components/button/development/ButtonExample.tsx similarity index 100% rename from packages/jokul/src/components/button/documentation/ButtonExample.tsx rename to packages/jokul/src/components/button/development/ButtonExample.tsx diff --git a/packages/jokul/src/components/button/documentation/Example.tsx b/packages/jokul/src/components/button/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/button/documentation/Example.tsx rename to packages/jokul/src/components/button/development/Example.tsx diff --git a/packages/jokul/src/components/card/documentation/Example.tsx b/packages/jokul/src/components/card/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/Example.tsx rename to packages/jokul/src/components/card/development/Example.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/FakturainfoExample.tsx b/packages/jokul/src/components/card/development/examples/FakturainfoExample.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/FakturainfoExample.tsx rename to packages/jokul/src/components/card/development/examples/FakturainfoExample.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/InfoCardExample.tsx b/packages/jokul/src/components/card/development/examples/InfoCardExample.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/InfoCardExample.tsx rename to packages/jokul/src/components/card/development/examples/InfoCardExample.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/NavCardExample.tsx b/packages/jokul/src/components/card/development/examples/NavCardExample.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/NavCardExample.tsx rename to packages/jokul/src/components/card/development/examples/NavCardExample.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/StatuskortExample.tsx b/packages/jokul/src/components/card/development/examples/StatuskortExample.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/StatuskortExample.tsx rename to packages/jokul/src/components/card/development/examples/StatuskortExample.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/TaskCardExample.tsx b/packages/jokul/src/components/card/development/examples/TaskCardExample.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/TaskCardExample.tsx rename to packages/jokul/src/components/card/development/examples/TaskCardExample.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/TopExample.tsx b/packages/jokul/src/components/card/development/examples/TopExample.tsx similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/TopExample.tsx rename to packages/jokul/src/components/card/development/examples/TopExample.tsx diff --git a/packages/jokul/src/components/card/documentation/examples/cardExampleProps.ts b/packages/jokul/src/components/card/development/examples/cardExampleProps.ts similarity index 100% rename from packages/jokul/src/components/card/documentation/examples/cardExampleProps.ts rename to packages/jokul/src/components/card/development/examples/cardExampleProps.ts diff --git a/packages/jokul/src/components/card/documentation/info-card-example.scss b/packages/jokul/src/components/card/development/info-card-example.scss similarity index 100% rename from packages/jokul/src/components/card/documentation/info-card-example.scss rename to packages/jokul/src/components/card/development/info-card-example.scss diff --git a/packages/jokul/src/components/card/documentation/public/img/grass-400.jpg b/packages/jokul/src/components/card/development/public/img/grass-400.jpg similarity index 100% rename from packages/jokul/src/components/card/documentation/public/img/grass-400.jpg rename to packages/jokul/src/components/card/development/public/img/grass-400.jpg diff --git a/packages/jokul/src/components/card/documentation/public/img/grass-800.jpg b/packages/jokul/src/components/card/development/public/img/grass-800.jpg similarity index 100% rename from packages/jokul/src/components/card/documentation/public/img/grass-800.jpg rename to packages/jokul/src/components/card/development/public/img/grass-800.jpg diff --git a/packages/jokul/src/components/card/documentation/public/img/grass-thumbnail.jpg b/packages/jokul/src/components/card/development/public/img/grass-thumbnail.jpg similarity index 100% rename from packages/jokul/src/components/card/documentation/public/img/grass-thumbnail.jpg rename to packages/jokul/src/components/card/development/public/img/grass-thumbnail.jpg diff --git a/packages/jokul/src/components/card/documentation/public/img/index.d.ts b/packages/jokul/src/components/card/development/public/img/index.d.ts similarity index 100% rename from packages/jokul/src/components/card/documentation/public/img/index.d.ts rename to packages/jokul/src/components/card/development/public/img/index.d.ts diff --git a/packages/jokul/src/components/card/documentation/task-card-example.scss b/packages/jokul/src/components/card/development/task-card-example.scss similarity index 100% rename from packages/jokul/src/components/card/documentation/task-card-example.scss rename to packages/jokul/src/components/card/development/task-card-example.scss diff --git a/packages/jokul/src/components/checkbox/documentation/CheckboxExample.tsx b/packages/jokul/src/components/checkbox/development/CheckboxExample.tsx similarity index 100% rename from packages/jokul/src/components/checkbox/documentation/CheckboxExample.tsx rename to packages/jokul/src/components/checkbox/development/CheckboxExample.tsx diff --git a/packages/jokul/src/components/checkbox/documentation/Example.tsx b/packages/jokul/src/components/checkbox/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/checkbox/documentation/Example.tsx rename to packages/jokul/src/components/checkbox/development/Example.tsx diff --git a/packages/jokul/src/components/chip/documentation/ChipExample.tsx b/packages/jokul/src/components/chip/development/ChipExample.tsx similarity index 100% rename from packages/jokul/src/components/chip/documentation/ChipExample.tsx rename to packages/jokul/src/components/chip/development/ChipExample.tsx diff --git a/packages/jokul/src/components/chip/documentation/Example.tsx b/packages/jokul/src/components/chip/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/chip/documentation/Example.tsx rename to packages/jokul/src/components/chip/development/Example.tsx diff --git a/packages/jokul/src/components/combobox/documentation/ComboboxExample.tsx b/packages/jokul/src/components/combobox/development/ComboboxExample.tsx similarity index 100% rename from packages/jokul/src/components/combobox/documentation/ComboboxExample.tsx rename to packages/jokul/src/components/combobox/development/ComboboxExample.tsx diff --git a/packages/jokul/src/components/combobox/documentation/Example.tsx b/packages/jokul/src/components/combobox/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/combobox/documentation/Example.tsx rename to packages/jokul/src/components/combobox/development/Example.tsx diff --git a/packages/jokul/src/components/cookie-consent/documentation/CookieConsentModalExample.tsx b/packages/jokul/src/components/cookie-consent/development/CookieConsentModalExample.tsx similarity index 100% rename from packages/jokul/src/components/cookie-consent/documentation/CookieConsentModalExample.tsx rename to packages/jokul/src/components/cookie-consent/development/CookieConsentModalExample.tsx diff --git a/packages/jokul/src/components/cookie-consent/documentation/Example.tsx b/packages/jokul/src/components/cookie-consent/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/cookie-consent/documentation/Example.tsx rename to packages/jokul/src/components/cookie-consent/development/Example.tsx diff --git a/packages/jokul/src/components/datepicker/documentation/DatepickerExample.tsx b/packages/jokul/src/components/datepicker/development/DatepickerExample.tsx similarity index 100% rename from packages/jokul/src/components/datepicker/documentation/DatepickerExample.tsx rename to packages/jokul/src/components/datepicker/development/DatepickerExample.tsx diff --git a/packages/jokul/src/components/datepicker/documentation/Example.tsx b/packages/jokul/src/components/datepicker/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/datepicker/documentation/Example.tsx rename to packages/jokul/src/components/datepicker/development/Example.tsx diff --git a/packages/jokul/src/components/description-list/documentation/DescriptionListExample.tsx b/packages/jokul/src/components/description-list/development/DescriptionListExample.tsx similarity index 100% rename from packages/jokul/src/components/description-list/documentation/DescriptionListExample.tsx rename to packages/jokul/src/components/description-list/development/DescriptionListExample.tsx diff --git a/packages/jokul/src/components/description-list/documentation/Example.tsx b/packages/jokul/src/components/description-list/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/description-list/documentation/Example.tsx rename to packages/jokul/src/components/description-list/development/Example.tsx diff --git a/packages/jokul/src/components/expander/documentation/CustomWidgetExample.tsx b/packages/jokul/src/components/expander/development/CustomWidgetExample.tsx similarity index 100% rename from packages/jokul/src/components/expander/documentation/CustomWidgetExample.tsx rename to packages/jokul/src/components/expander/development/CustomWidgetExample.tsx diff --git a/packages/jokul/src/components/expander/documentation/Example.tsx b/packages/jokul/src/components/expander/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/expander/documentation/Example.tsx rename to packages/jokul/src/components/expander/development/Example.tsx diff --git a/packages/jokul/src/components/expander/documentation/UnControlledExample.tsx b/packages/jokul/src/components/expander/development/UnControlledExample.tsx similarity index 100% rename from packages/jokul/src/components/expander/documentation/UnControlledExample.tsx rename to packages/jokul/src/components/expander/development/UnControlledExample.tsx diff --git a/packages/jokul/src/components/feedback/documentation/Example.tsx b/packages/jokul/src/components/feedback/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/feedback/documentation/Example.tsx rename to packages/jokul/src/components/feedback/development/Example.tsx diff --git a/packages/jokul/src/components/feedback/documentation/FeedbackExample.tsx b/packages/jokul/src/components/feedback/development/FeedbackExample.tsx similarity index 100% rename from packages/jokul/src/components/feedback/documentation/FeedbackExample.tsx rename to packages/jokul/src/components/feedback/development/FeedbackExample.tsx diff --git a/packages/jokul/src/components/feedback/documentation/feedbackExampleProps.ts b/packages/jokul/src/components/feedback/development/feedbackExampleProps.ts similarity index 100% rename from packages/jokul/src/components/feedback/documentation/feedbackExampleProps.ts rename to packages/jokul/src/components/feedback/development/feedbackExampleProps.ts diff --git a/packages/jokul/src/components/file-input/documentation/Example.tsx b/packages/jokul/src/components/file-input/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/file-input/documentation/Example.tsx rename to packages/jokul/src/components/file-input/development/Example.tsx diff --git a/packages/jokul/src/components/file-input/documentation/FileInputExample.tsx b/packages/jokul/src/components/file-input/development/FileInputExample.tsx similarity index 100% rename from packages/jokul/src/components/file-input/documentation/FileInputExample.tsx rename to packages/jokul/src/components/file-input/development/FileInputExample.tsx diff --git a/packages/jokul/src/components/file-input/documentation/FilePreviewExample.tsx b/packages/jokul/src/components/file-input/development/FilePreviewExample.tsx similarity index 100% rename from packages/jokul/src/components/file-input/documentation/FilePreviewExample.tsx rename to packages/jokul/src/components/file-input/development/FilePreviewExample.tsx diff --git a/packages/jokul/src/components/file-input/documentation/iconBytes.ts b/packages/jokul/src/components/file-input/development/iconBytes.ts similarity index 100% rename from packages/jokul/src/components/file-input/documentation/iconBytes.ts rename to packages/jokul/src/components/file-input/development/iconBytes.ts diff --git a/packages/jokul/src/components/flex/documentation/Example.tsx b/packages/jokul/src/components/flex/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/flex/documentation/Example.tsx rename to packages/jokul/src/components/flex/development/Example.tsx diff --git a/packages/jokul/src/components/flex/documentation/FlexExample.tsx b/packages/jokul/src/components/flex/development/FlexExample.tsx similarity index 100% rename from packages/jokul/src/components/flex/documentation/FlexExample.tsx rename to packages/jokul/src/components/flex/development/FlexExample.tsx diff --git a/packages/jokul/src/components/icon-button/documentation/Example.tsx b/packages/jokul/src/components/icon-button/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/icon-button/documentation/Example.tsx rename to packages/jokul/src/components/icon-button/development/Example.tsx diff --git a/packages/jokul/src/components/icon-button/documentation/IconButtonExample.tsx b/packages/jokul/src/components/icon-button/development/IconButtonExample.tsx similarity index 100% rename from packages/jokul/src/components/icon-button/documentation/IconButtonExample.tsx rename to packages/jokul/src/components/icon-button/development/IconButtonExample.tsx diff --git a/packages/jokul/src/components/icon/documentation/AnimatedIconsExample.tsx b/packages/jokul/src/components/icon/development/AnimatedIconsExample.tsx similarity index 100% rename from packages/jokul/src/components/icon/documentation/AnimatedIconsExample.tsx rename to packages/jokul/src/components/icon/development/AnimatedIconsExample.tsx diff --git a/packages/jokul/src/components/icon/documentation/Example.tsx b/packages/jokul/src/components/icon/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/icon/documentation/Example.tsx rename to packages/jokul/src/components/icon/development/Example.tsx diff --git a/packages/jokul/src/components/icon/documentation/IconsExample.tsx b/packages/jokul/src/components/icon/development/IconsExample.tsx similarity index 100% rename from packages/jokul/src/components/icon/documentation/IconsExample.tsx rename to packages/jokul/src/components/icon/development/IconsExample.tsx diff --git a/packages/jokul/src/components/icon/documentation/internal/AnimatedIcon.tsx b/packages/jokul/src/components/icon/development/internal/AnimatedIcon.tsx similarity index 100% rename from packages/jokul/src/components/icon/documentation/internal/AnimatedIcon.tsx rename to packages/jokul/src/components/icon/development/internal/AnimatedIcon.tsx diff --git a/packages/jokul/src/components/icon/documentation/internal/IconExample.tsx b/packages/jokul/src/components/icon/development/internal/IconExample.tsx similarity index 100% rename from packages/jokul/src/components/icon/documentation/internal/IconExample.tsx rename to packages/jokul/src/components/icon/development/internal/IconExample.tsx diff --git a/packages/jokul/src/components/icon/documentation/internal/IconsExampleGrid.tsx b/packages/jokul/src/components/icon/development/internal/IconsExampleGrid.tsx similarity index 100% rename from packages/jokul/src/components/icon/documentation/internal/IconsExampleGrid.tsx rename to packages/jokul/src/components/icon/development/internal/IconsExampleGrid.tsx diff --git a/packages/jokul/src/components/icon/documentation/internal/icons-example-grid.scss b/packages/jokul/src/components/icon/development/internal/icons-example-grid.scss similarity index 100% rename from packages/jokul/src/components/icon/documentation/internal/icons-example-grid.scss rename to packages/jokul/src/components/icon/development/internal/icons-example-grid.scss diff --git a/packages/jokul/src/components/image/documentation/Example.tsx b/packages/jokul/src/components/image/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/image/documentation/Example.tsx rename to packages/jokul/src/components/image/development/Example.tsx diff --git a/packages/jokul/src/components/image/documentation/ImageExample.tsx b/packages/jokul/src/components/image/development/ImageExample.tsx similarity index 100% rename from packages/jokul/src/components/image/documentation/ImageExample.tsx rename to packages/jokul/src/components/image/development/ImageExample.tsx diff --git a/packages/jokul/src/components/image/documentation/internal/props.ts b/packages/jokul/src/components/image/development/internal/props.ts similarity index 100% rename from packages/jokul/src/components/image/documentation/internal/props.ts rename to packages/jokul/src/components/image/development/internal/props.ts diff --git a/packages/jokul/src/components/image/documentation/public/img/dog-1200.jpg b/packages/jokul/src/components/image/development/public/img/dog-1200.jpg similarity index 100% rename from packages/jokul/src/components/image/documentation/public/img/dog-1200.jpg rename to packages/jokul/src/components/image/development/public/img/dog-1200.jpg diff --git a/packages/jokul/src/components/image/documentation/public/img/dog-1920.jpg b/packages/jokul/src/components/image/development/public/img/dog-1920.jpg similarity index 100% rename from packages/jokul/src/components/image/documentation/public/img/dog-1920.jpg rename to packages/jokul/src/components/image/development/public/img/dog-1920.jpg diff --git a/packages/jokul/src/components/image/documentation/public/img/dog-400.jpg b/packages/jokul/src/components/image/development/public/img/dog-400.jpg similarity index 100% rename from packages/jokul/src/components/image/documentation/public/img/dog-400.jpg rename to packages/jokul/src/components/image/development/public/img/dog-400.jpg diff --git a/packages/jokul/src/components/image/documentation/public/img/dog-800.jpg b/packages/jokul/src/components/image/development/public/img/dog-800.jpg similarity index 100% rename from packages/jokul/src/components/image/documentation/public/img/dog-800.jpg rename to packages/jokul/src/components/image/development/public/img/dog-800.jpg diff --git a/packages/jokul/src/components/image/documentation/public/img/index.d.ts b/packages/jokul/src/components/image/development/public/img/index.d.ts similarity index 100% rename from packages/jokul/src/components/image/documentation/public/img/index.d.ts rename to packages/jokul/src/components/image/development/public/img/index.d.ts diff --git a/packages/jokul/src/components/image/documentation/public/img/thumbnail.jpg b/packages/jokul/src/components/image/development/public/img/thumbnail.jpg similarity index 100% rename from packages/jokul/src/components/image/documentation/public/img/thumbnail.jpg rename to packages/jokul/src/components/image/development/public/img/thumbnail.jpg diff --git a/packages/jokul/src/components/image/documentation/style.scss b/packages/jokul/src/components/image/development/style.scss similarity index 100% rename from packages/jokul/src/components/image/documentation/style.scss rename to packages/jokul/src/components/image/development/style.scss diff --git a/packages/jokul/src/components/input-group/documentation/Example.tsx b/packages/jokul/src/components/input-group/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/input-group/documentation/Example.tsx rename to packages/jokul/src/components/input-group/development/Example.tsx diff --git a/packages/jokul/src/components/input-group/documentation/InputGroupExample.tsx b/packages/jokul/src/components/input-group/development/InputGroupExample.tsx similarity index 100% rename from packages/jokul/src/components/input-group/documentation/InputGroupExample.tsx rename to packages/jokul/src/components/input-group/development/InputGroupExample.tsx diff --git a/packages/jokul/src/components/input-panel/documentation/Example.tsx b/packages/jokul/src/components/input-panel/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/input-panel/documentation/Example.tsx rename to packages/jokul/src/components/input-panel/development/Example.tsx diff --git a/packages/jokul/src/components/input-panel/documentation/checkbox-panel/ControlledExample.tsx b/packages/jokul/src/components/input-panel/development/checkbox-panel/ControlledExample.tsx similarity index 100% rename from packages/jokul/src/components/input-panel/documentation/checkbox-panel/ControlledExample.tsx rename to packages/jokul/src/components/input-panel/development/checkbox-panel/ControlledExample.tsx diff --git a/packages/jokul/src/components/input-panel/documentation/checkbox-panel/UncontrolledExample.tsx b/packages/jokul/src/components/input-panel/development/checkbox-panel/UncontrolledExample.tsx similarity index 100% rename from packages/jokul/src/components/input-panel/documentation/checkbox-panel/UncontrolledExample.tsx rename to packages/jokul/src/components/input-panel/development/checkbox-panel/UncontrolledExample.tsx diff --git a/packages/jokul/src/components/input-panel/documentation/radio-panel/ControlledExample.tsx b/packages/jokul/src/components/input-panel/development/radio-panel/ControlledExample.tsx similarity index 100% rename from packages/jokul/src/components/input-panel/documentation/radio-panel/ControlledExample.tsx rename to packages/jokul/src/components/input-panel/development/radio-panel/ControlledExample.tsx diff --git a/packages/jokul/src/components/input-panel/documentation/radio-panel/UncontrolledExample.tsx b/packages/jokul/src/components/input-panel/development/radio-panel/UncontrolledExample.tsx similarity index 100% rename from packages/jokul/src/components/input-panel/documentation/radio-panel/UncontrolledExample.tsx rename to packages/jokul/src/components/input-panel/development/radio-panel/UncontrolledExample.tsx diff --git a/packages/jokul/src/components/input-panel/documentation/styles.scss b/packages/jokul/src/components/input-panel/development/styles.scss similarity index 100% rename from packages/jokul/src/components/input-panel/documentation/styles.scss rename to packages/jokul/src/components/input-panel/development/styles.scss diff --git a/packages/jokul/src/components/link-list/documentation/Example.tsx b/packages/jokul/src/components/link-list/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/link-list/documentation/Example.tsx rename to packages/jokul/src/components/link-list/development/Example.tsx diff --git a/packages/jokul/src/components/link-list/documentation/LinkListExample.tsx b/packages/jokul/src/components/link-list/development/LinkListExample.tsx similarity index 100% rename from packages/jokul/src/components/link-list/documentation/LinkListExample.tsx rename to packages/jokul/src/components/link-list/development/LinkListExample.tsx diff --git a/packages/jokul/src/components/link/documentation/Example.tsx b/packages/jokul/src/components/link/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/link/documentation/Example.tsx rename to packages/jokul/src/components/link/development/Example.tsx diff --git a/packages/jokul/src/components/link/documentation/LinkExample.tsx b/packages/jokul/src/components/link/development/LinkExample.tsx similarity index 100% rename from packages/jokul/src/components/link/documentation/LinkExample.tsx rename to packages/jokul/src/components/link/development/LinkExample.tsx diff --git a/packages/jokul/src/components/link/documentation/NavLinkExample.tsx b/packages/jokul/src/components/link/development/NavLinkExample.tsx similarity index 100% rename from packages/jokul/src/components/link/documentation/NavLinkExample.tsx rename to packages/jokul/src/components/link/development/NavLinkExample.tsx diff --git a/packages/jokul/src/components/list/documentation/Example.tsx b/packages/jokul/src/components/list/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/list/documentation/Example.tsx rename to packages/jokul/src/components/list/development/Example.tsx diff --git a/packages/jokul/src/components/list/documentation/ListExample.tsx b/packages/jokul/src/components/list/development/ListExample.tsx similarity index 100% rename from packages/jokul/src/components/list/documentation/ListExample.tsx rename to packages/jokul/src/components/list/development/ListExample.tsx diff --git a/packages/jokul/src/components/loader/documentation/Example.tsx b/packages/jokul/src/components/loader/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/loader/documentation/Example.tsx rename to packages/jokul/src/components/loader/development/Example.tsx diff --git a/packages/jokul/src/components/loader/documentation/LoaderExample.tsx b/packages/jokul/src/components/loader/development/LoaderExample.tsx similarity index 100% rename from packages/jokul/src/components/loader/documentation/LoaderExample.tsx rename to packages/jokul/src/components/loader/development/LoaderExample.tsx diff --git a/packages/jokul/src/components/loader/documentation/SkeletonLoaderExample.tsx b/packages/jokul/src/components/loader/development/SkeletonLoaderExample.tsx similarity index 100% rename from packages/jokul/src/components/loader/documentation/SkeletonLoaderExample.tsx rename to packages/jokul/src/components/loader/development/SkeletonLoaderExample.tsx diff --git a/packages/jokul/src/components/loader/documentation/styles.scss b/packages/jokul/src/components/loader/development/styles.scss similarity index 100% rename from packages/jokul/src/components/loader/documentation/styles.scss rename to packages/jokul/src/components/loader/development/styles.scss diff --git a/packages/jokul/src/components/logo/documentation/Example.tsx b/packages/jokul/src/components/logo/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/logo/documentation/Example.tsx rename to packages/jokul/src/components/logo/development/Example.tsx diff --git a/packages/jokul/src/components/logo/documentation/LogoExample.tsx b/packages/jokul/src/components/logo/development/LogoExample.tsx similarity index 100% rename from packages/jokul/src/components/logo/documentation/LogoExample.tsx rename to packages/jokul/src/components/logo/development/LogoExample.tsx diff --git a/packages/jokul/src/components/logo/documentation/LogoStampExample.tsx b/packages/jokul/src/components/logo/development/LogoStampExample.tsx similarity index 100% rename from packages/jokul/src/components/logo/documentation/LogoStampExample.tsx rename to packages/jokul/src/components/logo/development/LogoStampExample.tsx diff --git a/packages/jokul/src/components/logo/documentation/styles.scss b/packages/jokul/src/components/logo/development/styles.scss similarity index 100% rename from packages/jokul/src/components/logo/documentation/styles.scss rename to packages/jokul/src/components/logo/development/styles.scss diff --git a/packages/jokul/src/components/menu/documentation/Example.tsx b/packages/jokul/src/components/menu/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/menu/documentation/Example.tsx rename to packages/jokul/src/components/menu/development/Example.tsx diff --git a/packages/jokul/src/components/menu/documentation/MenuExample.tsx b/packages/jokul/src/components/menu/development/MenuExample.tsx similarity index 100% rename from packages/jokul/src/components/menu/documentation/MenuExample.tsx rename to packages/jokul/src/components/menu/development/MenuExample.tsx diff --git a/packages/jokul/src/components/menu/documentation/MenuToggleSwitchExample.tsx b/packages/jokul/src/components/menu/development/MenuToggleSwitchExample.tsx similarity index 100% rename from packages/jokul/src/components/menu/documentation/MenuToggleSwitchExample.tsx rename to packages/jokul/src/components/menu/development/MenuToggleSwitchExample.tsx diff --git a/packages/jokul/src/components/message/documentation/Example.tsx b/packages/jokul/src/components/message/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/message/documentation/Example.tsx rename to packages/jokul/src/components/message/development/Example.tsx diff --git a/packages/jokul/src/components/message/documentation/FormErrorMessageExample.tsx b/packages/jokul/src/components/message/development/FormErrorMessageExample.tsx similarity index 100% rename from packages/jokul/src/components/message/documentation/FormErrorMessageExample.tsx rename to packages/jokul/src/components/message/development/FormErrorMessageExample.tsx diff --git a/packages/jokul/src/components/message/documentation/MessageExample.tsx b/packages/jokul/src/components/message/development/MessageExample.tsx similarity index 100% rename from packages/jokul/src/components/message/documentation/MessageExample.tsx rename to packages/jokul/src/components/message/development/MessageExample.tsx diff --git a/packages/jokul/src/components/modal/documentation/Example.tsx b/packages/jokul/src/components/modal/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/modal/documentation/Example.tsx rename to packages/jokul/src/components/modal/development/Example.tsx diff --git a/packages/jokul/src/components/modal/documentation/ModalExample.tsx b/packages/jokul/src/components/modal/development/ModalExample.tsx similarity index 100% rename from packages/jokul/src/components/modal/documentation/ModalExample.tsx rename to packages/jokul/src/components/modal/development/ModalExample.tsx diff --git a/packages/jokul/src/components/pagination/documentation/Example.tsx b/packages/jokul/src/components/pagination/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/pagination/documentation/Example.tsx rename to packages/jokul/src/components/pagination/development/Example.tsx diff --git a/packages/jokul/src/components/pagination/documentation/PaginationExample.tsx b/packages/jokul/src/components/pagination/development/PaginationExample.tsx similarity index 100% rename from packages/jokul/src/components/pagination/documentation/PaginationExample.tsx rename to packages/jokul/src/components/pagination/development/PaginationExample.tsx diff --git a/packages/jokul/src/components/pagination/documentation/styles.scss b/packages/jokul/src/components/pagination/development/styles.scss similarity index 100% rename from packages/jokul/src/components/pagination/documentation/styles.scss rename to packages/jokul/src/components/pagination/development/styles.scss diff --git a/packages/jokul/src/components/popover/documentation/Example.tsx b/packages/jokul/src/components/popover/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/popover/documentation/Example.tsx rename to packages/jokul/src/components/popover/development/Example.tsx diff --git a/packages/jokul/src/components/popover/documentation/PopoverExample.tsx b/packages/jokul/src/components/popover/development/PopoverExample.tsx similarity index 100% rename from packages/jokul/src/components/popover/documentation/PopoverExample.tsx rename to packages/jokul/src/components/popover/development/PopoverExample.tsx diff --git a/packages/jokul/src/components/progress-bar/documentation/CountdownExample.tsx b/packages/jokul/src/components/progress-bar/development/CountdownExample.tsx similarity index 100% rename from packages/jokul/src/components/progress-bar/documentation/CountdownExample.tsx rename to packages/jokul/src/components/progress-bar/development/CountdownExample.tsx diff --git a/packages/jokul/src/components/progress-bar/documentation/Example.tsx b/packages/jokul/src/components/progress-bar/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/progress-bar/documentation/Example.tsx rename to packages/jokul/src/components/progress-bar/development/Example.tsx diff --git a/packages/jokul/src/components/progress-bar/documentation/ProgressBarExample.tsx b/packages/jokul/src/components/progress-bar/development/ProgressBarExample.tsx similarity index 100% rename from packages/jokul/src/components/progress-bar/documentation/ProgressBarExample.tsx rename to packages/jokul/src/components/progress-bar/development/ProgressBarExample.tsx diff --git a/packages/jokul/src/components/radio-button/documentation/Example.tsx b/packages/jokul/src/components/radio-button/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/radio-button/documentation/Example.tsx rename to packages/jokul/src/components/radio-button/development/Example.tsx diff --git a/packages/jokul/src/components/radio-button/documentation/RadioButtonExample.tsx b/packages/jokul/src/components/radio-button/development/RadioButtonExample.tsx similarity index 100% rename from packages/jokul/src/components/radio-button/documentation/RadioButtonExample.tsx rename to packages/jokul/src/components/radio-button/development/RadioButtonExample.tsx diff --git a/packages/jokul/src/components/select/documentation/Example.tsx b/packages/jokul/src/components/select/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/select/documentation/Example.tsx rename to packages/jokul/src/components/select/development/Example.tsx diff --git a/packages/jokul/src/components/select/documentation/SelectExample.tsx b/packages/jokul/src/components/select/development/SelectExample.tsx similarity index 100% rename from packages/jokul/src/components/select/documentation/SelectExample.tsx rename to packages/jokul/src/components/select/development/SelectExample.tsx diff --git a/packages/jokul/src/components/summary-table/documentation/Example.tsx b/packages/jokul/src/components/summary-table/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/summary-table/documentation/Example.tsx rename to packages/jokul/src/components/summary-table/development/Example.tsx diff --git a/packages/jokul/src/components/summary-table/documentation/SummaryTableExample.tsx b/packages/jokul/src/components/summary-table/development/SummaryTableExample.tsx similarity index 100% rename from packages/jokul/src/components/summary-table/documentation/SummaryTableExample.tsx rename to packages/jokul/src/components/summary-table/development/SummaryTableExample.tsx diff --git a/packages/jokul/src/components/summary-table/documentation/summary-table-example.scss b/packages/jokul/src/components/summary-table/development/summary-table-example.scss similarity index 100% rename from packages/jokul/src/components/summary-table/documentation/summary-table-example.scss rename to packages/jokul/src/components/summary-table/development/summary-table-example.scss diff --git a/packages/jokul/src/components/system-message/documentation/Example.tsx b/packages/jokul/src/components/system-message/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/system-message/documentation/Example.tsx rename to packages/jokul/src/components/system-message/development/Example.tsx diff --git a/packages/jokul/src/components/system-message/documentation/SystemMessageExample.tsx b/packages/jokul/src/components/system-message/development/SystemMessageExample.tsx similarity index 100% rename from packages/jokul/src/components/system-message/documentation/SystemMessageExample.tsx rename to packages/jokul/src/components/system-message/development/SystemMessageExample.tsx diff --git a/packages/jokul/src/components/table/documentation/ActionTableExample.tsx b/packages/jokul/src/components/table/development/ActionTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/ActionTableExample.tsx rename to packages/jokul/src/components/table/development/ActionTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/ClickableTableExample.tsx b/packages/jokul/src/components/table/development/ClickableTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/ClickableTableExample.tsx rename to packages/jokul/src/components/table/development/ClickableTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/DataTableExample.tsx b/packages/jokul/src/components/table/development/DataTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/DataTableExample.tsx rename to packages/jokul/src/components/table/development/DataTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/Example.tsx b/packages/jokul/src/components/table/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/Example.tsx rename to packages/jokul/src/components/table/development/Example.tsx diff --git a/packages/jokul/src/components/table/documentation/ExpandableTableExample.tsx b/packages/jokul/src/components/table/development/ExpandableTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/ExpandableTableExample.tsx rename to packages/jokul/src/components/table/development/ExpandableTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/HeadlessTableExample.tsx b/packages/jokul/src/components/table/development/HeadlessTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/HeadlessTableExample.tsx rename to packages/jokul/src/components/table/development/HeadlessTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/MobileListTableExample.tsx b/packages/jokul/src/components/table/development/MobileListTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/MobileListTableExample.tsx rename to packages/jokul/src/components/table/development/MobileListTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/MobileScrollTableExample.tsx b/packages/jokul/src/components/table/development/MobileScrollTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/MobileScrollTableExample.tsx rename to packages/jokul/src/components/table/development/MobileScrollTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/PaginatedTableExample.tsx b/packages/jokul/src/components/table/development/PaginatedTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/PaginatedTableExample.tsx rename to packages/jokul/src/components/table/development/PaginatedTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/SortableTableExample.tsx b/packages/jokul/src/components/table/development/SortableTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/SortableTableExample.tsx rename to packages/jokul/src/components/table/development/SortableTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/StickyTableExample.tsx b/packages/jokul/src/components/table/development/StickyTableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/StickyTableExample.tsx rename to packages/jokul/src/components/table/development/StickyTableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/TableExample.tsx b/packages/jokul/src/components/table/development/TableExample.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/TableExample.tsx rename to packages/jokul/src/components/table/development/TableExample.tsx diff --git a/packages/jokul/src/components/table/documentation/TableExamples.tsx b/packages/jokul/src/components/table/development/TableExamples.tsx similarity index 100% rename from packages/jokul/src/components/table/documentation/TableExamples.tsx rename to packages/jokul/src/components/table/development/TableExamples.tsx diff --git a/packages/jokul/src/components/table/documentation/paginated-table-data.ts b/packages/jokul/src/components/table/development/paginated-table-data.ts similarity index 100% rename from packages/jokul/src/components/table/documentation/paginated-table-data.ts rename to packages/jokul/src/components/table/development/paginated-table-data.ts diff --git a/packages/jokul/src/components/tabs/documentation/Example.tsx b/packages/jokul/src/components/tabs/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/tabs/documentation/Example.tsx rename to packages/jokul/src/components/tabs/development/Example.tsx diff --git a/packages/jokul/src/components/tabs/documentation/NavTabsExample.tsx b/packages/jokul/src/components/tabs/development/NavTabsExample.tsx similarity index 100% rename from packages/jokul/src/components/tabs/documentation/NavTabsExample.tsx rename to packages/jokul/src/components/tabs/development/NavTabsExample.tsx diff --git a/packages/jokul/src/components/tabs/documentation/TabsExample.tsx b/packages/jokul/src/components/tabs/development/TabsExample.tsx similarity index 100% rename from packages/jokul/src/components/tabs/documentation/TabsExample.tsx rename to packages/jokul/src/components/tabs/development/TabsExample.tsx diff --git a/packages/jokul/src/components/tag/documentation/Example.tsx b/packages/jokul/src/components/tag/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/tag/documentation/Example.tsx rename to packages/jokul/src/components/tag/development/Example.tsx diff --git a/packages/jokul/src/components/tag/documentation/TagExample.tsx b/packages/jokul/src/components/tag/development/TagExample.tsx similarity index 100% rename from packages/jokul/src/components/tag/documentation/TagExample.tsx rename to packages/jokul/src/components/tag/development/TagExample.tsx diff --git a/packages/jokul/src/components/text-input/documentation/Example.tsx b/packages/jokul/src/components/text-input/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/text-input/documentation/Example.tsx rename to packages/jokul/src/components/text-input/development/Example.tsx diff --git a/packages/jokul/src/components/text-input/documentation/TextAreaExample.tsx b/packages/jokul/src/components/text-input/development/TextAreaExample.tsx similarity index 100% rename from packages/jokul/src/components/text-input/documentation/TextAreaExample.tsx rename to packages/jokul/src/components/text-input/development/TextAreaExample.tsx diff --git a/packages/jokul/src/components/text-input/documentation/TextInputExample.tsx b/packages/jokul/src/components/text-input/development/TextInputExample.tsx similarity index 100% rename from packages/jokul/src/components/text-input/documentation/TextInputExample.tsx rename to packages/jokul/src/components/text-input/development/TextInputExample.tsx diff --git a/packages/jokul/src/components/text-input/documentation/index.scss b/packages/jokul/src/components/text-input/development/index.scss similarity index 100% rename from packages/jokul/src/components/text-input/documentation/index.scss rename to packages/jokul/src/components/text-input/development/index.scss diff --git a/packages/jokul/src/components/toast/documentation/Example.tsx b/packages/jokul/src/components/toast/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/toast/documentation/Example.tsx rename to packages/jokul/src/components/toast/development/Example.tsx diff --git a/packages/jokul/src/components/toast/documentation/ToastExample.tsx b/packages/jokul/src/components/toast/development/ToastExample.tsx similarity index 100% rename from packages/jokul/src/components/toast/documentation/ToastExample.tsx rename to packages/jokul/src/components/toast/development/ToastExample.tsx diff --git a/packages/jokul/src/components/toast/documentation/ToastStickerSheet.tsx b/packages/jokul/src/components/toast/development/ToastStickerSheet.tsx similarity index 100% rename from packages/jokul/src/components/toast/documentation/ToastStickerSheet.tsx rename to packages/jokul/src/components/toast/development/ToastStickerSheet.tsx diff --git a/packages/jokul/src/components/toggle-switch/documentation/Example.tsx b/packages/jokul/src/components/toggle-switch/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/toggle-switch/documentation/Example.tsx rename to packages/jokul/src/components/toggle-switch/development/Example.tsx diff --git a/packages/jokul/src/components/toggle-switch/documentation/ToggleSwitchExample.tsx b/packages/jokul/src/components/toggle-switch/development/ToggleSwitchExample.tsx similarity index 100% rename from packages/jokul/src/components/toggle-switch/documentation/ToggleSwitchExample.tsx rename to packages/jokul/src/components/toggle-switch/development/ToggleSwitchExample.tsx diff --git a/packages/jokul/src/components/tooltip/documentation/Example.tsx b/packages/jokul/src/components/tooltip/development/Example.tsx similarity index 100% rename from packages/jokul/src/components/tooltip/documentation/Example.tsx rename to packages/jokul/src/components/tooltip/development/Example.tsx diff --git a/packages/jokul/src/components/tooltip/documentation/PopupTipExample.tsx b/packages/jokul/src/components/tooltip/development/PopupTipExample.tsx similarity index 100% rename from packages/jokul/src/components/tooltip/documentation/PopupTipExample.tsx rename to packages/jokul/src/components/tooltip/development/PopupTipExample.tsx diff --git a/packages/jokul/src/components/tooltip/documentation/TooltipExample.tsx b/packages/jokul/src/components/tooltip/development/TooltipExample.tsx similarity index 100% rename from packages/jokul/src/components/tooltip/documentation/TooltipExample.tsx rename to packages/jokul/src/components/tooltip/development/TooltipExample.tsx diff --git a/packages/jokul/src/components/tooltip/documentation/getPlacement.ts b/packages/jokul/src/components/tooltip/development/getPlacement.ts similarity index 100% rename from packages/jokul/src/components/tooltip/documentation/getPlacement.ts rename to packages/jokul/src/components/tooltip/development/getPlacement.ts diff --git a/packages/jokul/vite.build.config.mjs b/packages/jokul/vite.build.config.mjs index 80fc7a004b5..088866ae3f6 100644 --- a/packages/jokul/vite.build.config.mjs +++ b/packages/jokul/vite.build.config.mjs @@ -23,7 +23,7 @@ export default defineConfig({ exclude: [ "src/**/*.test.{ts,tsx}", "src/**/*.spec.{ts,tsx}", - "src/components/**/documentation/*", + "src/components/**/development/*", ], entryRoot: "./src", outDir: ["./build/es", "./build/cjs"], @@ -53,7 +53,7 @@ export default defineConfig({ input: Object.fromEntries( // https://rollupjs.org/configuration-options/#input globSync("src/**/!(*.test|*.spec).{ts,tsx}") - .filter((file) => !file.includes("documentation/")) + .filter((file) => !file.includes("development/")) .map((file) => [ relative( "src",