{"tiddlers":{"$:/plugins/wikilabs/link-to-tabs/config":{"title":"$:/plugins/wikilabs/link-to-tabs/config","created":"20190712133008077","initial-opacity":"0.7","modified":"20190714104541701","show-all-links":"none","show-single-link":"inline-block","transition":"0.3","type":"text/vnd.tiddlywiki","text":"This tiddler is used to configure the \"Link-to-tabs\" plugin behaviour. \n\nThere are 4 fields, which are used by [[$:/plugins/wikilabs/link-to-tabs/styles]] enable and disable the internal links. \n\n* show-all-links: {{!!show-all-links}}\n* show-single-link: {{!!show-single-link}}\n* initial-opacity: {{!!initial-opacity}}\n* transition time in seconds: {{!!transition}}\n"},"$:/core/macros/tabs":{"title":"$:/core/macros/tabs","tags":"$:/tags/Macro","text":"\\define tabs-button()\n\\whitespace trim\n<$button\n\tset=<>\n\tsetTo=<>\n\tdefault=<<__default__>>\n\tselectedClass=\"tc-tab-selected\"\n\ttooltip={{!!tooltip}}\n\trole=\"switch\"\n\tdata-tab-title=<>\n>\n\t<$tiddler tiddler=<>>\n\t\t<$set name=\"tv-wikilinks\" value=\"no\">\n\t\t\t<$transclude tiddler=<<__buttonTemplate__>> mode=\"inline\">\n\t\t\t\t<$transclude tiddler=<> field=\"caption\">\n\t\t\t\t\t<$macrocall $name=\"currentTab\" $type=\"text/plain\" $output=\"text/plain\"/>\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\t<<__actions__>>\n\n\\end\n\n\\define link-action(message:\"tm-navigate\" icon:\"$:/core/images/link\")\n\\whitespace trim\n<$linkcatcher message=<<__message__>> >\n\t<$link overrideClass=\"\" to=<> >\n\t\t<$transclude $tiddler=<<__icon__>>/>\n\t\n\n\\end\n\n\\define tabs-tab-indicator()\n\\whitespace trim\n<$let pluginTab=`$(save-currentTiddler)$/$(currentTiddler)$`\n\tcurrentTiddler=`${[!is[blank]thenelse]}$`\n>\n\t\n\t\t<% if [all[current]!is[shadow]] :filter[[$:/plugins/wikilabs/link-to-tabs/config]get[link-action]match[tm-edit-tiddler]] %>\n\t\t\t<>\n\t\t<% elseif [all[current]is[tiddler]] :filter[[$:/plugins/wikilabs/link-to-tabs/config]get[shadow-action]match[tm-edit-tiddler]] %>\n\t\t\t<>\n\t\t<% else %>\n\t\t\t<>\n\t\t<% endif %>\n\t\n\n\\end\n\n\\define tabs-tab()\n\\whitespace trim\n<$set name=\"save-currentTiddler\" value=<>>\n\t<$tiddler tiddler=<>>\n\t\t<>\n\t\t<>\n\t\n\n\\end\n\n\\define tabs-tab-list()\n\\whitespace trim\n<$list filter=<<__tabsList__>> variable=\"currentTab\" storyview=\"pop\">\n\t<$set name=getCondition filter=\"[get[condition]]\">\n\t\t<$list\n\t\t\tfilter=\"[has[condition]subfilterlimit[1]] ~[!has[condition]then[true]]\"\n\t\t\tvariable=\"ignore\"\n\t\t>\n\t\t\t<>\n\t\t\n\t\n\n\\end\n\n\\define tabs-tab-body()\n\\whitespace trim\n<$list filter=<<__tabsList__>> variable=\"currentTab\">\n\t<$set name=getCondition filter=\"[get[condition]]\">\n\t\t<$list\n\t\t\tfilter=\"[has[condition]subfilterlimit[1]] ~[!has[condition]then[true]]\"\n\t\t\tvariable=\"ignore\"\n\t\t>\n\t\t\t<$reveal type=\"match\" state=<> text=<> default=<<__default__>> retain=<<__retain__>> tag=\"div\">\n\t\t\t\t<$transclude tiddler=<<__template__>> mode=\"block\">\n\t\t\t\t\t<$transclude tiddler=<> mode=\"block\"/>\n\t\t\t\t\n\t\t\t\n\t\t\n\t\n\n\\end\n\n\\define tabs(tabsList,default,state:\"$:/state/tab\",class,template,buttonTemplate,retain,actions,explicitState)\n\\whitespace trim\n<$qualify title=<<__state__>> name=\"qualifiedState\">\n\t<$let tabsState={{{ [<__explicitState__>minlength[1]] ~[] }}}>\n\t\t
] }}}>\n\t\t\t
] }}}>\n\t\t\t\t<>\n\t\t\t
\n\t\t
] }}}/>\n\t\t\t
] }}}>\n\t\t\t\t<>\n\t\t\t
\n\t\t
\n\t\n\n\\end"},"$:/plugins/wikilabs/link-to-tabs/history":{"title":"$:/plugins/wikilabs/link-to-tabs/history","text":"\nV 3.0.0 - 2023-12-28\n\n* The ''edit-tabs'' plugin will be ''deprecated'' and be replaced by link-to-tabs\n* There are 2 new settings now\n** Clicking a tab-link opens ''non-system'' tiddlers in edit mode\n** Clicking a tab-link opens ''every existing'' tiddler in edit mode\n\n* New \"settings\" tab in the plugin\n* New \"settings\" tab in the ''$:/ControlPanel -> Settings -> WikiLabs'' tab\n\nV 2.4.0 - 2023-12-28\n\n* Update tabs-macro to TW v5.3.3\n\nV 2.3.0 - 2023-07-17\n\n* Updateto TW v5.3.0\n* Tabs in ControlPanel -> Plugins -> Plugin Info area work now.\n** Except the \"contents\" tab, since it's a \"virtual\" one.\n\nV 2.2.0 - 2022-03-27\n\n* update to TW v5.2.2\n* ''Important'': Changed license to Attribution-NonCommercial-ShareAlike -- [[CC-BY-NC-SA|$:/plugins/wikilabs/link-to-tabs/license]]\n\nV 2.1.0 - 2022-02-17\n\n* New $:/core/macros/tabs\n* much more hackable and added dynamic tabs\n** tabs can have a `condition` field now.\n\nV 2.0.1 - 2020-12-25\n\n* update license\n\nV 2.0.0 - 2020.12.05\n\n* Update $:/core/macros/tabs to V5.1.23\n\nV 1.1.1 - 2020.01.19\n\n* Update license link/text\n\nV 1.1.0 - 2019.07.14\n\n* Add new option: Initially hide link\n** Transition time from hidden to visible is adjustable\n* Added: \"Reset to Default\" button\n\nV 1.0.1 - 2019.02.18\n\n* link-to-tabs works in drop-down elements now.\n\nV 1.0.0 - 2019.02.14\n\n* Use core tabs-macro from TW 5.1.19\n\nV <1.0.0\n\n* Use core tabs-macro from TW 5.1.15\n"},"$:/plugins/wikilabs/link-to-tabs/icon":{"title":"$:/plugins/wikilabs/link-to-tabs/icon","text":"\n\n\n"},"$:/plugins/wikilabs/link-to-tabs/license":{"title":"$:/plugins/wikilabs/link-to-tabs/license","license-text":"https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode","text":"[[Link-to-Tabs-Macro|https://wikilabs.github.io/#link-to-tabs]] (c) Mario Pietsch - 2016-2024\n\n[[Creative Commons Attribution-NonCommercial-ShareAlike|https://creativecommons.org/licenses/by-nc-sa/4.0/]]\n"},"$:/plugins/wikilabs/link-to-tabs/readme":{"title":"$:/plugins/wikilabs/link-to-tabs/readme","text":"This plugin adds a little link icon to every tab.\n\n!! Settings\n\n* Have a closer look at the \"settings-tab\" here or\n* Open the ''$:/ControlPanel -> Settings -> WikiLabs'' tab\n\n''Important:'' This plugin modifies a core module and templates\n\n
    <$list filter=\"[[$:/plugins/wikilabs/link-to-tabs]plugintiddlers[]prefix[$:/core/]] \">
  • <$link to=<>><>
"},"$:/plugins/wikilabs/link-to-tabs/settings":{"title":"$:/plugins/wikilabs/link-to-tabs/settings","caption":"Link-to-Tabs","created":"20190712133607244","modified":"20190714104631250","tags":"$:/tags/ControlPanel/WikiLabs","type":"text/vnd.tiddlywiki","text":"The full documentation can be found at [[links-to-tabs plugin|https://wikilabs.github.io/editions/link-to-tabs/]] main page.\n\n<$checkbox tiddler=\"$:/plugins/wikilabs/link-to-tabs/config\" field=\"show-all-links\" checked=\"inline-block\" unchecked=\"none\" default=\"none\"> Show internal tab link for ''all tabs''\n\n<$checkbox tiddler=\"$:/plugins/wikilabs/link-to-tabs/config\" field=\"show-single-link\" checked=\"inline-block\" unchecked=\"none\" default=\"inline-block\"> Show internal tab link for ''selected tabs''\n\n<$checkbox tiddler=\"$:/plugins/wikilabs/link-to-tabs/config\" field=\"initial-opacity\" checked=\"0\" unchecked=\"0.7\" default=\"0.7\"> Tab links are initially hidden and need mouse hover to become visible.
The transition time in seconds is: <$edit-text tiddler=\"$:/plugins/wikilabs/link-to-tabs/config\" field=\"transition\" default=\"0.3\"/>\n\n<$checkbox tiddler=\"$:/plugins/wikilabs/link-to-tabs/config\" field=\"link-action\" checked=\"tm-edit-tiddler\" unchecked=\"tm-navigate\" default=\"tm-navigate\"> Clicking a tab-link opens ''non-shadow'' tiddlers in ''edit mode''\n\n<$checkbox tiddler=\"$:/plugins/wikilabs/link-to-tabs/config\" field=\"shadow-action\" checked=\"tm-edit-tiddler\" unchecked=\"tm-navigate\" default=\"tm-navigate\"> Clicking a tab-link opens ''every existing'' tiddler in ''edit mode''\n\n<$button message=\"tm-delete-tiddler\" param=\"$:/plugins/wikilabs/link-to-tabs/config\">\nReset to Default!\n"},"$:/ControlPanel/Settings/WikiLabs":{"title":"$:/ControlPanel/Settings/WikiLabs","caption":"WikiLabs","tags":"$:/tags/ControlPanel/SettingsTab","text":"Get an overview about all [[WikiLab Pugins|https://wikilabs.github.io]] \n\n
\n<$macrocall $name=\"tabs\" \n tabsList=\"[all[shadows+tiddlers]tag[$:/tags/ControlPanel/WikiLabs]!has[draft.of]]\"\n default=\"$:/plugins/wikilabs/link-to-tabs/settings\"\n explicitState=\"$:/state/tab/settings/wikilabs\"\n/>\n
"},"$:/plugins/wikilabs/link-to-tabs/styles":{"title":"$:/plugins/wikilabs/link-to-tabs/styles","created":"20190712133348541","modified":"20190714104306483","tags":"$:/tags/Stylesheet","type":"text/vnd.tiddlywiki","text":"
\n\n.wltc-link-to-tab {\n  display: {{$:/plugins/wikilabs/link-to-tabs/config!!show-all-links}};\n  position: relative;\n  top: -1em;\n  left: -1.3em;\n  font-size: 0.7em;\n  opacity: {{$:/plugins/wikilabs/link-to-tabs/config!!initial-opacity}};\n  margin-right: -1em;\n}\n\n.wltc-link-to-tab svg{\n  width: 1.4em;\n  height: 1.4em;\n}\n\n.wltc-link-to-tab:hover {\n  opacity: 1;\n  transition:opacity {{$:/plugins/wikilabs/link-to-tabs/config!!transition}}s;\n  transition-timing-function: cubic-bezier(1,-0.06,.39,.89);\n}\n\n.tc-tab-selected + .wltc-link-to-tab {\n  display: {{$:/plugins/wikilabs/link-to-tabs/config!!show-single-link}};\n}\n\n.tc-vertical > .wltc-link-to-tab {\n  top: -1.9em;\n  left: 0;\n  height: 0;\n  float: right;\n}\n\n.tc-search-results .wltc-link-to-tab a {\n  display: contents;\n  padding: 0;\n}\n\n
"}}}