🎉 Basic structure

This commit is contained in:
Eva Marco 2025-10-17 10:21:22 +02:00
parent 8e0aa683a1
commit ed379013ef
5 changed files with 66 additions and 0 deletions

View File

@ -13,6 +13,7 @@
[app.main.ui.ds.controls.input :refer [input*]]
[app.main.ui.ds.controls.numeric-input :refer [numeric-input*]]
[app.main.ui.ds.controls.select :refer [select*]]
[app.main.ui.ds.controls.token-input :refer [token-input*]]
[app.main.ui.ds.controls.utilities.hint-message :refer [hint-message*]]
[app.main.ui.ds.controls.utilities.input-field :refer [input-field*]]
[app.main.ui.ds.controls.utilities.label :refer [label*]]
@ -64,6 +65,7 @@
:Text text*
:TabSwitcher tab-switcher*
:Toast toast*
:TokenInput token-input*
:Tooltip tooltip*
:ContextNotification context-notification*
:NotificationPill notification-pill*

View File

@ -0,0 +1,26 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC
import * as React from "react";
import Components from "@target/components";
const { TokenInput } = Components;
export default {
title: "Controls/Token Input",
component: TokenInput,
argTypes: {
},
args: {
},
parameters: {
},
render: ({ ...args }) => <TokenInput {...args} />,
};
export const Default = {};

View File

@ -0,0 +1,18 @@
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;
;; Copyright (c) KALEIDOS INC
(ns app.main.ui.ds.controls.token-input
(:require-macros
[app.main.style :as stl])
(:require
[rumext.v2 :as mf]))
(mf/defc token-input*
[{:keys [] :rest props}]
[:div {:class (stl/css-case
:wrapper true)}
"token-input* not implemented yet"])

View File

@ -0,0 +1,12 @@
{ /* This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright (c) KALEIDOS INC */ }
import { Canvas, Meta } from '@storybook/blocks';
import * as TokenInputStories from "./token-input.stories";
<Meta title="Controls/Token Input" />
Todo

View File

@ -0,0 +1,8 @@
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) KALEIDOS INC
.wrapper {
background: red;
}